commit 700e62598d226eb3b900621ecc721afff68821bc
parent b1a70be0791cf7cbad18158c913aed1636e990e9
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 25 Jun 2020 19:12:11 +0200
history: allow changing default label of swaps
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -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