Skip to content

Commit

Permalink
add null check for issuee in sendArtifacts for presenting untargeted …
Browse files Browse the repository at this point in the history
…credential. (#888)

- Fix exception in sendArtifacts by adding a null check for issuee in case of presenting untargeted credential

Signed-off-by: arshdeep singh <[email protected]>
  • Loading branch information
Arsh-Sandhu authored Nov 18, 2024
1 parent c173a62 commit 0688935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keri/vdr/credentialing.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ def sendArtifacts(hby, reger, postman, creder, recp):
atc = msg[serder.size:]
postman.send(serder=serder, attachment=atc)

if isse != recp:
if isse is not None and isse != recp:
ikever = hby.db.kevers[isse]
for msg in hby.db.cloneDelegation(ikever):
serder = serdering.SerderKERI(raw=msg)
Expand Down

0 comments on commit 0688935

Please sign in to comment.