Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #15

Open
MomboteQ opened this issue Feb 17, 2022 · 1 comment
Open

Error #15

MomboteQ opened this issue Feb 17, 2022 · 1 comment

Comments

@MomboteQ
Copy link

I have error:

Traceback (most recent call last):
  File "test.py", line 14, in <module>
    balance=10000000000000000000000000
  File "/usr/local/lib/python3.7/dist-packages/nanolib/blocks.py", line 245, in __init__
    setattr(self, key, value)
  File "/usr/local/lib/python3.7/dist-packages/nanolib/blocks.py", line 83, in wrapper
    setter(self, new)
  File "/usr/local/lib/python3.7/dist-packages/nanolib/blocks.py", line 103, in wrapper
    setter(self, val)
  File "/usr/local/lib/python3.7/dist-packages/nanolib/blocks.py", line 116, in wrapper
    setter(self, val)
  File "/usr/local/lib/python3.7/dist-packages/nanolib/blocks.py", line 739, in set_previous
    validate_public_key(previous)
  File "/usr/local/lib/python3.7/dist-packages/nanolib/accounts.py", line 85, in validate_public_key
    if len(public_key) != 64 or not is_hex(public_key):
TypeError: object of type 'property' has no len()
@karanahuja-android
Copy link

Hello @MomboteQ

could you please share code of test.py to debug the error please.

Thanks and best regards,
karan ahuja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants