t(minor) trigger 'wallet_updated' callback when adding future tx - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 874efc125db65ec56b833d4cf909cef4b6336154 (DIR) parent 7771daf94e47ffa7f06bfb39cd37c012a475b39d (HTM) Author: ThomasV <thomasv@electrum.org> Date: Sat, 22 Feb 2020 12:59:48 +0100 (minor) trigger 'wallet_updated' callback when adding future tx Diffstat: M electrum/lnwatcher.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- (DIR) diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py t@@ -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)}')