Skip to content

Commit

Permalink
Merge pull request #87 from airalab/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
PaTara43 authored Jul 16, 2024
2 parents 1469d56 + 107f931 commit b938df1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "robonomics-interface"
version = "1.6.2"
version = "1.6.3"
description = "Robonomics wrapper over https://github.com/polkascan/py-substrate-interface created to facilitate programming with Robonomics"
authors = ["Pavel Tarasov <[email protected]>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion robonomicsinterface/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create_keypair(seed: str, crypto_type: int = KeypairType.SR25519) -> Keypair
"""

if seed.startswith("0x"):
return Keypair.create_from_seed(seed_hex=hex(int(seed, 16)), ss58_format=32, crypto_type=crypto_type)
return Keypair.create_from_seed(seed, ss58_format=32, crypto_type=crypto_type)
elif seed.startswith("//"):
return Keypair.create_from_uri(suri=seed, ss58_format=32, crypto_type=crypto_type)
else:
Expand Down

0 comments on commit b938df1

Please sign in to comment.