Browse Source

Merge pull request #7308 from bitromortac/2105-fix-cmd-reverse-swap

swaps: fix satoshi conversion bug
patch-4
ghost43 4 years ago
committed by GitHub
parent
commit
e7c7a2a834
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      electrum/commands.py

2
electrum/commands.py

@ -1199,7 +1199,7 @@ class Commands:
else:
lightning_amount_sat = satoshis(lightning_amount)
claim_fee = sm.get_claim_fee()
onchain_amount_sat = satoshis(onchain_amount + claim_fee)
onchain_amount_sat = satoshis(onchain_amount) + claim_fee
success = await wallet.lnworker.swap_manager.reverse_swap(
lightning_amount_sat=lightning_amount_sat,
expected_onchain_amount_sat=onchain_amount_sat,

Loading…
Cancel
Save