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

Errors #9

Open
djalmabright opened this issue Feb 15, 2018 · 1 comment
Open

Errors #9

djalmabright opened this issue Feb 15, 2018 · 1 comment

Comments

@djalmabright
Copy link

19:31 ~/blocktools $ python parser.py
Blocksize: %u
Traceback (most recent call last):
File "parser.py", line 5, in
print("Blocksize:\t %u") % uint4(blockfile,)
TypeError: unsupported operand type(s) for %: 'NoneType' and 'int'
19:33 ~/blocktools $ python sight.py 1M.dat
Traceback (most recent call last):
File "sight.py", line 5, in
from block import Block, BlockHeader
File "/home/djalmabright/blocktools/block.py", line 6, in
class BlockHeader:
File "/home/djalmabright/blocktools/block.py", line 9, in BlockHeader
self.previousHash = hash32(blockchain)
NameError: name 'blockchain' is not defined

@tenthirtyone
Copy link
Owner

Not enough info here to do anything productive. Any help?

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