Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swapcli wrong ongoing status after restart #440

Open
dimalinux opened this issue Apr 27, 2023 · 0 comments
Open

swapcli wrong ongoing status after restart #440

dimalinux opened this issue Apr 27, 2023 · 0 comments
Labels
bug Something isn't working p2 medium priority

Comments

@dimalinux
Copy link
Collaborator

Had a swap where the taker's server was restarted before the sweep. The logs show that the swap status was updated to SweepingXMR but
./bin/swapcli ongoing is showing the status as ContractReady.

2023-04-27T17:30:08.188Z	INFO	monero	monero/wallet_client.go:461	Created wallet swap-wallet-claim-0xa[...]1c-2023-04-27-17:30:03.507872243, balance is 0.1 XMR (0 blocks to unlock), address is 4A[...]
2023-04-27T17:30:08.188Z	INFO	protocol	protocol/claim_monero.go:68	monero claimed in account 4A[...]; transferring to primary account 44[...]
2023-04-27T17:30:08.190Z	DEBUG	protocol	protocol/claim_monero.go:85	set swap's status to SweepingXMR; swap ID 0xa5[...]
2023-04-27T17:30:08.279Z	INFO	monero	monero/wallet_client.go:334	Starting sweep of 0.1 XMR from 4A[...] to 44[...]
2023-04-27T17:30:09.131Z	INFO	monero	monero/wallet_client.go:352	Sweep transaction started, TX IDs: 9[...]
2023-04-27T17:30:09.264Z	INFO	monero	monero/wallet_client.go:257	Received 0 of 2 confirmations of XMR TXID=9[...] (height=28[...])
@noot noot added bug Something isn't working p2 medium priority labels Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p2 medium priority
Projects
None yet
Development

No branches or pull requests

2 participants