commit 3dc69df7021e839ca1bab5bd7705fcb381adc614
parent 1fb8af40c529c8767d6d0807aaa88bea16b380b4
Author: ThomasV <thomasv@gitorious>
Date: Tue, 9 Sep 2014 14:50:42 +0200
fix tx.sweep
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/lib/transaction.py b/lib/transaction.py
@@ -534,6 +534,10 @@ class Transaction:
item['address'] = address
item['prevout_hash'] = item['tx_hash']
item['prevout_n'] = item['tx_pos']
+ item['pubkeys'] = [pubkey]
+ item['x_pubkeys'] = [None]
+ item['signatures'] = [None]
+ item['num_sig'] = 1
inputs += u
if not inputs: