diff --git a/aries_cloudagent/resolver/default/legacy_peer.py b/aries_cloudagent/resolver/default/legacy_peer.py index 52ec422ad8..ef132ac491 100644 --- a/aries_cloudagent/resolver/default/legacy_peer.py +++ b/aries_cloudagent/resolver/default/legacy_peer.py @@ -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"]