1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00

parse sequence in txapi as well

This commit is contained in:
Pavol Rusnak 2014-03-30 00:44:42 +01:00
parent 49eec8b78e
commit 0ca0594077

View File

@ -54,6 +54,7 @@ def bitcore_tx(url):
asm = vin['scriptSig']['asm'].split(' ') asm = vin['scriptSig']['asm'].split(' ')
asm = [ opcode_serialize(x) for x in asm ] asm = [ opcode_serialize(x) for x in asm ]
i.script_sig = ''.join(asm) i.script_sig = ''.join(asm)
i.sequence = vin['sequence']
for vout in data['vout']: for vout in data['vout']:
o = t.outputs.add() o = t.outputs.add()