Skip to content

Commit

Permalink
Fix to grant command for broken single sig granting. (#584)
Browse files Browse the repository at this point in the history
Signed-off-by: pfeairheller <[email protected]>
  • Loading branch information
pfeairheller authored Oct 5, 2023
1 parent a53ef84 commit 7fb492c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/keri/app/cli/commands/ipex/admit.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def admitDo(self, tymth, tock=0.0):
if "ri" in acdc:
self.witq.telquery(src=self.hab.pre, wits=self.hab.kevers[issr].wits, ri=acdc["ri"], i=acdc["d"])

print(pathed)
for label in ("anc", "iss", "acdc"):
ked = embeds[label]
sadder = coring.Sadder(ked=ked)
Expand Down
4 changes: 3 additions & 1 deletion src/keri/app/cli/commands/ipex/grant.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ def grantDo(self, tymth, tock=0.0):

parsing.Parser().parseOne(ims=bytes(msg), exc=self.exc)

sender = self.hab.pre
if isinstance(self.hab, habbing.GroupHab):
sender = self.hab.mhab.pre
wexn, watc = grouping.multisigExn(self.hab, exn=msg)

smids = self.hab.db.signingMembers(pre=self.hab.pre)
Expand All @@ -143,7 +145,7 @@ def grantDo(self, tymth, tock=0.0):
print(f"Sending message {exn.said} to {recp}")
atc = exchanging.serializeMessage(self.hby, exn.said)
del atc[:exn.size]
self.postman.send(src=self.hab.mhab.pre,
self.postman.send(src=sender,
dest=recp,
topic="credential",
serder=exn,
Expand Down

0 comments on commit 7fb492c

Please sign in to comment.