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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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, |
|
|
|