Skip to content

Errors  #9

@djalmabright

Description

@djalmabright

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions