Skip to content

Commit

Permalink
chore: balck
Browse files Browse the repository at this point in the history
Signed-off-by: Colton Wolkins (Indicio work address) <[email protected]>
  • Loading branch information
TheTechmage committed May 21, 2024
1 parent 86229ee commit 1a2e7a1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions aries_cloudagent/transport/pack_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ async def encode_message(
) -> Union[str, bytes]:
"""Pass an incoming message to the appropriately versioned PackWireFormat."""

if session.profile.settings.get("experiment.didcomm_v2") and recipient_keys[0].startswith("did:peer:"):
#pack_format = self.get_for_packed_msg(message_json)
if session.profile.settings.get("experiment.didcomm_v2") and recipient_keys[
0
].startswith("did:peer:"):
# pack_format = self.get_for_packed_msg(message_json)
pack_format = self.v2pack_format
else:
pack_format = self.v1pack_format
Expand Down Expand Up @@ -349,8 +351,8 @@ async def parse_message(
message_dict = message_unpack.message

if message_unpack.sender_kid:
receipt.sender_verkey = message_unpack.sender_kid.split('#')[0]
receipt.recipient_verkey = message_unpack.recipient_kid.split('#')[0]
receipt.sender_verkey = message_unpack.sender_kid.split("#")[0]
receipt.recipient_verkey = message_unpack.recipient_kid.split("#")[0]
pass

thid = message_dict.get("thid")
Expand Down

0 comments on commit 1a2e7a1

Please sign in to comment.