Skip to content

Commit

Permalink
remove confusing no-op or in the default value of cred_type
Browse files Browse the repository at this point in the history
Signed-off-by: Golda Velez <[email protected]>
  • Loading branch information
gvelez17 committed Mar 14, 2024
1 parent c7aba3e commit 6933de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/runners/support/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ async def register_did(
did: str = None,
verkey: str = None,
role: str = "TRUST_ANCHOR",
cred_type: str = CRED_FORMAT_INDY or CRED_FORMAT_VC_DI,
cred_type: str = CRED_FORMAT_INDY,
):
if cred_type in [CRED_FORMAT_INDY, CRED_FORMAT_VC_DI]:
# if registering a did for issuing indy credentials, publish the did on the ledger
Expand Down Expand Up @@ -731,7 +731,7 @@ async def register_or_switch_wallet(
public_did=False,
webhook_port: int = None,
mediator_agent=None,
cred_type: str = CRED_FORMAT_INDY or CRED_FORMAT_VC_DI,
cred_type: str = CRED_FORMAT_INDY,
endorser_agent=None,
taa_accept=False,
):
Expand Down

0 comments on commit 6933de7

Please sign in to comment.