Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: George Mulhearn <[email protected]>
  • Loading branch information
gmulhearn-anonyome committed Jan 15, 2025
1 parent f7dbe65 commit 46265e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acapy_agent/wallet/askar.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ def _create_keypair(key_type: KeyType, seed: Union[str, bytes, None] = None) ->
return Key.from_seed(alg, seed, method=method)
except AskarError as err:
if err.code == AskarErrorCode.INPUT:
raise WalletError("Invalid seed for key generation") from None
raise WalletError("Invalid seed for key generation") from err
else:
LOGGER.error(f"Unhandled Askar error code: {err.code}")
raise
Expand Down

0 comments on commit 46265e0

Please sign in to comment.