Skip to content

Commit

Permalink
fix: send multi-sig admit to to discloser not issuer (not always the …
Browse files Browse the repository at this point in the history
…same) (#286)
  • Loading branch information
iFergal authored Aug 28, 2024
1 parent cfc55d4 commit 70209b2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/keria/app/ipexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,10 @@ def sendMultisigExn(agent, hab, ked, sigs, atc, rec):

agent.exchanges.append(dict(said=serder.said, pre=hab.pre, rec=rec, topic='credential'))

embeds = grant.ked['e']
acdc = embeds["acdc"]
issr = acdc['i']

serder = serdering.SerderKERI(sad=admitked)
ims = bytearray(serder.raw) + pathed['exn']
agent.hby.psr.parseOne(ims=ims)
agent.exchanges.append(dict(said=serder.said, pre=hab.pre, rec=[issr], topic="credential"))
agent.exchanges.append(dict(said=serder.said, pre=hab.pre, rec=[grant.ked['i']], topic="credential"))
agent.admits.append(dict(said=admitked['d'], pre=hab.pre))

return agent.monitor.submit(serder.pre, longrunning.OpTypes.exchange, metadata=dict(said=serder.said))
Expand Down

0 comments on commit 70209b2

Please sign in to comment.