thistory: allow changing default label of swaps - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 700e62598d226eb3b900621ecc721afff68821bc DIR parent b1a70be0791cf7cbad18158c913aed1636e990e9 HTML Author: SomberNight <somber.night@protonmail.com> Date: Thu, 25 Jun 2020 19:12:11 +0200 history: allow changing default label of swaps Diffstat: M electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py t@@ -711,7 +711,7 @@ class LNWallet(LNWorker): 'amount_msat': 0, #'amount_msat': amount_msat, # must not be added 'type': 'swap', - 'label': label + 'label': self.wallet.get_label(txid) or label, } return out