From e9829563d3d27d1795311252e0b36fe8d9929ecc Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 26 Jun 2020 11:42:55 +0200 Subject: [PATCH] forward swaps: save the onchain amount we actually paid --- electrum/submarine_swaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/submarine_swaps.py b/electrum/submarine_swaps.py index b022986cc..f0198696d 100644 --- a/electrum/submarine_swaps.py +++ b/electrum/submarine_swaps.py @@ -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,