mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
Fixed bin_output
This commit is contained in:
parent
345f6d6814
commit
ff77261a61
@ -68,7 +68,7 @@ def bitcore_tx(url):
|
||||
i.sequence = vin['sequence']
|
||||
|
||||
for vout in data['vout']:
|
||||
o = t.outputs.add()
|
||||
o = t.bin_outputs.add()
|
||||
o.amount = int(vout['value'] * 100000000)
|
||||
asm = vout['scriptPubKey']['asm'].split(' ')
|
||||
asm = [ opcode_serialize(x) for x in asm ]
|
||||
|
Loading…
Reference in New Issue
Block a user