1
0

Rewrite accounts and transactions: store pubkeys instead of addresses in order to avoid unnecessary derivations.

This commit is contained in:
ThomasV
2014-07-06 21:10:41 +02:00
parent cd4c8335b0
commit a89abee969
5 changed files with 175 additions and 130 deletions

View File

@@ -183,7 +183,7 @@ class WalletSynchronizer(threading.Thread):
tx_hash = params[0]
tx_height = params[1]
assert tx_hash == bitcoin.hash_encode(bitcoin.Hash(result.decode('hex')))
tx = Transaction(result)
tx = Transaction.deserialize(result)
self.wallet.receive_tx_callback(tx_hash, tx, tx_height)
self.was_updated = True
requested_tx.remove( (tx_hash, tx_height) )