electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 874efc125db65ec56b833d4cf909cef4b6336154
parent 7771daf94e47ffa7f06bfb39cd37c012a475b39d
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 22 Feb 2020 12:59:48 +0100

(minor) trigger 'wallet_updated' callback when adding future tx

Diffstat:
Melectrum/lnwatcher.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py @@ -409,5 +409,6 @@ class LNWalletWatcher(LNWatcher): try: self.lnworker.wallet.add_future_tx(tx, remaining) self.logger.info(f'adding future tx: {name}. prevout: {prevout}') + self.network.trigger_callback('wallet_updated', self.lnworker.wallet) except Exception as e: self.logger.info(f'could not add future tx: {name}. prevout: {prevout} {str(e)}')