Skip to content

Commit

Permalink
style: minor style correction
Browse files Browse the repository at this point in the history
  • Loading branch information
dbluhm authored Oct 7, 2023
1 parent 6cb0410 commit 805acfd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aries_cloudagent/resolver/default/legacy_peer.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ def didcomm_services_recip_keys_are_refs_routing_keys_are_did_key_ref(
]
if "routingKeys" in service:
service["routingKeys"] = [
cls.did_key_to_did_key_ref(DIDKey.from_public_key_b58(key, ED25519).key_id)
cls.did_key_to_did_key_ref(
DIDKey.from_public_key_b58(key, ED25519).key_id
)
if "did:key:" not in key
else cls.did_key_to_did_key_ref(key)
for key in service["routingKeys"]
Expand Down

0 comments on commit 805acfd

Please sign in to comment.