Skip to content

Commit

Permalink
fix: multisig join operatoin never resolves
Browse files Browse the repository at this point in the history
  • Loading branch information
lenkan committed Apr 30, 2024
1 parent 4217166 commit e462af2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/keria/app/grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def on_post(req, rep, name):

serder = serdering.SerderKERI(sad=rot)
agent.groups.append(dict(pre=hab.pre, serder=serder, sigers=sigers, smids=smids, rmids=rmids))
op = agent.monitor.submit(serder.pre, longrunning.OpTypes.group, metadata=dict(sn=0))
op = agent.monitor.submit(serder.pre, longrunning.OpTypes.group, metadata=dict(sn=serder.sn))

rep.content_type = "application/json"
rep.status = falcon.HTTP_202
Expand Down
2 changes: 1 addition & 1 deletion tests/app/test_grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def make(self, serder, sigers):
assert res.status_code == 202
assert res.json == {'done': False,
'error': None,
'metadata': {'sn': 0},
'metadata': {'sn': 3},
'name': 'group.EDWg3-rB5FTpcckaYdBcexGmbLIO6AvAwjaJTBlXUn_I',
'response': None}

Expand Down

0 comments on commit e462af2

Please sign in to comment.