Skip to content

Commit

Permalink
lintin
Browse files Browse the repository at this point in the history
Signed-off-by: PatStLouis <[email protected]>
  • Loading branch information
PatStLouis committed Sep 27, 2024
1 parent d0d24ba commit a4e4eed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions aries_cloudagent/wallet/askar.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,16 +254,13 @@ async def create_local_did(
metadata = {}

try:

keypair = _create_keypair(key_type, seed)
verkey_bytes = keypair.get_public_bytes()
verkey = bytes_to_b58(verkey_bytes)

try:
await self._session.handle.insert_key(
verkey,
keypair,
metadata=json.dumps(metadata)
verkey, keypair, metadata=json.dumps(metadata)
)
except AskarError as err:
if err.code == AskarErrorCode.DUPLICATE:
Expand Down

0 comments on commit a4e4eed

Please sign in to comment.