Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Costanzo <ian@anon-solutions.ca>
  • Loading branch information
ianco committed Nov 4, 2021
1 parent f909f12 commit aa3fcc2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 4 additions & 2 deletions aries_cloudagent/protocols/endorse_transaction/v1_0/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,10 @@ async def on_startup_event(profile: Profile, event: Event):
alias=endorser_alias,
)
else:
raise Exception("Failed to establish endorser connection, invalid "
"invitation format.")
raise Exception(
"Failed to establish endorser connection, invalid "
"invitation format."
)

# configure the connection role and info (don't need to wait for the connection)
transaction_mgr = TransactionManager(profile)
Expand Down
6 changes: 5 additions & 1 deletion demo/runners/support/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,11 @@ async def start_endorser_agent(start_port, genesis, use_did_exchange: bool = Tru
endorser_connection = await endorser_agent.admin_POST(
"/out-of-band/create-invitation",
{"handshake_protocols": ["rfc23"]},
params={"alias": "EndorserMultiuse", "auto_accept": "true", "multi_use": "true"},
params={
"alias": "EndorserMultiuse",
"auto_accept": "true",
"multi_use": "true",
},
)
else:
# old-style connection
Expand Down

0 comments on commit aa3fcc2

Please sign in to comment.