Skip to content

Commit

Permalink
logging in submit
Browse files Browse the repository at this point in the history
  • Loading branch information
cl0ete committed Nov 28, 2023
1 parent a81ef81 commit 60054d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aries_cloudagent/ledger/indy_vdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,13 @@ async def _submit(
if sign is None or sign:
if sign_did is sentinel:
sign_did = await self.get_wallet_public_did()
LOGGER.warning(f"Is sentinel sign_did: {sign_did}")
if sign is None:
sign = bool(sign_did)
LOGGER.warning(f"Sign is NONE: now sign is : {sign}")

if sign:
LOGGER.warning(f"IF sign: {sign}")
if not sign_did:
raise BadLedgerRequestError("Cannot sign request without a public DID")

Expand Down

0 comments on commit 60054d7

Please sign in to comment.