tforward swaps: save the onchain amount we actually paid - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit e9829563d3d27d1795311252e0b36fe8d9929ecc DIR parent 8773bc2e775aca9282ed7c1d1857db96d8053866 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 26 Jun 2020 11:42:55 +0200 forward swaps: save the onchain amount we actually paid Diffstat: M electrum/submarine_swaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/submarine_swaps.py b/electrum/submarine_swaps.py t@@ -270,7 +270,7 @@ class SwapManager(Logger): preimage = preimage, prepay_hash = None, lockup_address = lockup_address, - onchain_amount = onchain_amount, + onchain_amount = expected_onchain_amount, lightning_amount = lightning_amount, is_reverse = False, is_redeemed = False,