Browse Source

swaps: fix satoshi conversion bug

patch-4
bitromortac 4 years ago
parent
commit
3c02f6b922
No known key found for this signature in database GPG Key ID: 1965063FC13BEBE2
  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