1
0

trezor plugin

This commit is contained in:
m0mchil
2014-07-10 22:44:28 +03:00
parent bd3bfb5e53
commit a336379aa5
4 changed files with 327 additions and 5 deletions

View File

@@ -439,7 +439,7 @@ def parse_input(vds):
d = {}
prevout_hash = hash_encode(vds.read_bytes(32))
prevout_n = vds.read_uint32()
scriptSig = vds.read_bytes(vds.read_compact_size())
d['scriptSig'] = scriptSig = vds.read_bytes(vds.read_compact_size())
sequence = vds.read_uint32()
if prevout_hash == '00'*32:
d['is_coinbase'] = True