From ff77261a61274f76e9c75cbdb6c895aa6a40c171 Mon Sep 17 00:00:00 2001 From: slush0 Date: Mon, 7 Apr 2014 16:25:03 +0200 Subject: [PATCH] Fixed bin_output --- trezorlib/tx_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trezorlib/tx_api.py b/trezorlib/tx_api.py index e042f91ed..c34d60f35 100644 --- a/trezorlib/tx_api.py +++ b/trezorlib/tx_api.py @@ -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 ]