forward swaps: save the onchain amount we actually paid

This commit is contained in:
ThomasV 2020-06-26 11:42:55 +02:00
parent 8773bc2e77
commit e9829563d3

View file

@ -270,7 +270,7 @@ class SwapManager(Logger):
preimage = preimage, preimage = preimage,
prepay_hash = None, prepay_hash = None,
lockup_address = lockup_address, lockup_address = lockup_address,
onchain_amount = onchain_amount, onchain_amount = expected_onchain_amount,
lightning_amount = lightning_amount, lightning_amount = lightning_amount,
is_reverse = False, is_reverse = False,
is_redeemed = False, is_redeemed = False,