diff --git a/pybtc/connector.py b/pybtc/connector.py index 26a4f93..8145e12 100644 --- a/pybtc/connector.py +++ b/pybtc/connector.py @@ -850,6 +850,7 @@ def get_stream(stream): def decode_block_tx(block): s = get_stream(block) b = dict() + b["amount"] = 0 b["version"] = unpack("L", b["version"]).hex() b["previousBlockHash"] = rh2s(s.read(32))