1
0

change 'new_transaction' notification to include wallet

This commit is contained in:
SomberNight
2018-09-16 02:48:13 +02:00
parent 2453872a09
commit a9197236a2
3 changed files with 13 additions and 10 deletions

View File

@@ -134,7 +134,7 @@ class Synchronizer(PrintError):
self.print_error("received tx %s height: %d bytes: %d" %
(tx_hash, tx_height, len(tx.raw)))
# callbacks
self.wallet.network.trigger_callback('new_transaction', tx)
self.wallet.network.trigger_callback('new_transaction', self.wallet, tx)
async def subscribe_to_address(self, addr):
h = address_to_scripthash(addr)