comit-network / xmr-btc-swap

Bitcoin–Monero Cross-chain Atomic Swap
GNU General Public License v3.0
663 stars 86 forks source link

Unstoppableswap BTC returns #1001

Closed porcelinslightly closed 2 years ago

porcelinslightly commented 2 years ago

Describe the bug my issue, as well as the things that I have tried, are on https://www.reddit.com/r/monerosupport/comments/sum79n/unstoppableswap_btc_refunds/: My assumption of it is that there was a liquidity problem.

Lost/trapped Funds Yes.

Debug logs Please post your debug logs. You find them in: Linux: /home//.local/share/xmr-btc-swap/logs OSX: /Users//Library/ApplicationSupport/xmr-btc-swap/logs

I cannot find the specified folder. Here is my log, things I've tried are in the Reddit thread.

2022-02-16T07:04:02.596135Z DEBUG Using existing sqlite database.

2022-02-16T07:04:02.619741Z DEBUG Reading in seed from C:\Users[***]\AppData\Roaming\xmr-btc-swap\data\cli\mainnet\seed.pem

2022-02-16T07:04:03.756628Z DEBUG Starting monero-wallet-rpc port=65485

2022-02-16T07:04:10.501823Z DEBUG Opened Monero wallet monero_wallet_name=swap-tool-blockchain-monitoring-wallet

2022-02-16T07:04:12.522419Z DEBUG Network layer initialized peer_id=[***]

2022-02-16T07:04:12.522464Z DEBUG Requesting quote

2022-02-16T07:04:13.165105Z INFO Connected to Alice at /dnsaddr/battery.commitcri.me/p2p/[***]

2022-02-16T07:04:13.459892Z INFO Received quote price=0.00415526 BTC minimum_amount=0.00010000 BTC maximum_amount=0.01000000 BTC

2022-02-16T07:04:13.463834Z INFO Waiting for Bitcoin deposit deposit_address=[***] max_giveable=0.00000000 BTC minimum_amount=0.00010000 BTC maximum_amount=0.01000000 BTC

2022-02-16T07:15:44.319265Z INFO Received Bitcoin new_balance=0.00999999 BTC max_giveable=0.00999696 BTC

2022-02-16T07:15:44.319460Z INFO Determined swap amount amount=0.00999696 BTC fees=0.00000303 BTC

2022-02-16T07:15:44.322611Z DEBUG Advancing state state=quote has been requested

2022-02-16T07:15:44.560761Z DEBUG Estimated fee for transaction weight=548 fee_rate=2.467 sats_per_vbyte=337.9790

2022-02-16T07:15:44.560781Z WARN Estimated fee of 337.9790 is smaller than the min relay fee, defaulting to min relay fee 1000

2022-02-16T07:15:44.799396Z DEBUG Estimated fee for transaction weight=596 fee_rate=2.467 sats_per_vbyte=367.5830

2022-02-16T07:15:44.799410Z WARN Estimated fee of 367.5830 is smaller than the min relay fee, defaulting to min relay fee 1000

Platform (please complete the following information):

many thanks, feel free to ask for anything else.

binarybaron commented 2 years ago

Please run the following in Powershell:

cd ~/swaptool
.\swap history
porcelinslightly commented 2 years ago

Thanks very much for the reply. The command received the following response:

+---------+-------+ | SWAP ID | STATE | +=================+ +---------+-------+

binarybaron commented 2 years ago

You should be able to run the command below to withdraw your BTC

cd ~/swaptool
.\swap withdraw-btc --address YOUR_BTC_ADDRESS
porcelinslightly commented 2 years ago

You should be able to run the command below to withdraw your BTC

cd ~/swaptool
.\swap withdraw-btc --address YOUR_BTC_ADDRESS

This worked, excellent, thanks so much!