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

Publishing Bitcoin cancel transaction fails: bad-txns-vout-negative #1692

Open
binarybaron opened this issue Jun 27, 2024 · 0 comments
Open
Labels
cli Related to the swap CLI tool

Comments

@binarybaron
Copy link
Collaborator

Describe the bug
The publication of the Bitcoin cancel transaction by Bob fails with the electrum errro: bad-txns-vout-negative. The swap was done on testnet.

Lost/trapped Funds
Yes or No

Debug logs

{"timestamp":"2024-06-24T19:04:01.528985Z","level":"DEBUG","fields":{"message":"Network layer initialized","peer_id":"12D3KooWHD2gT5GrhnLDqN7Q1FYYzJKvWjjMfVgqFHPo6rtKG3S5"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:01.529099Z","level":"DEBUG","fields":{"message":"Acquiring swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:01.529212Z","level":"DEBUG","fields":{"message":"Requesting quote"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:01.571941Z","level":"INFO","fields":{"message":"Connected to Alice","peer_id":"/ip4/127.0.0.1/tcp/9939/p2p/12D3KooWEJxNSpzsUiFTL5etJBcfH9GsUJGb2BBUCS9HGVu19idT"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:01.580911Z","level":"INFO","fields":{"message":"Received quote","price":"0.00265098 BTC","minimum_amount":"0.0002 BTC","maximum_amount":"0.02 BTC"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:05.644893Z","level":"DEBUG","fields":{"message":"Estimated fee for transaction","weight":"485","fee_rate":"1007.171","sats_per_vbyte":"122119.48375"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:05.645229Z","level":"WARN","fields":{"message":"Hard bound of transaction fees reached. Falling back to: 100000 sats"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:05.645286Z","level":"INFO","fields":{"message":"Deposit at least 0.0012 BTC to cover the min quantity with fee!"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:05.645340Z","level":"INFO","fields":{"message":"Waiting for Bitcoin deposit","deposit_address":"tb1qx265a487pqt3493n405etyfz22xcgskhdcenaf","min_deposit_until_swap_will_start":"0.0012 BTC","max_deposit_until_maximum_amount_is_reached":"0.021 BTC","max_giveable":"0 BTC","minimum_amount":"0.0002 BTC","maximum_amount":"0.02 BTC","min_bitcoin_lock_tx_fee":"0.001 BTC","price":"0.00265098 BTC"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:38.705695Z","level":"INFO","fields":{"message":"Received Bitcoin","new_balance":"0.002 BTC","max_giveable":"0.00077123 BTC"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:38.705973Z","level":"INFO","fields":{"message":"Determined swap amount","amount":"0.00077123 BTC","fees":"0.00122877 BTC"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:38.709487Z","level":"DEBUG","fields":{"message":"Advancing state","state":"quote has been requested"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:38.956117Z","level":"DEBUG","fields":{"message":"Estimated fee for transaction","weight":"548","fee_rate":"1007.171","sats_per_vbyte":"137982.4270"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:38.956229Z","level":"WARN","fields":{"message":"Hard bound of transaction fees reached. Falling back to: 100000 sats"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:39.205137Z","level":"DEBUG","fields":{"message":"Estimated fee for transaction","weight":"596","fee_rate":"1007.171","sats_per_vbyte":"150068.4790"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:39.205398Z","level":"WARN","fields":{"message":"Hard bound of transaction fees reached. Falling back to: 100000 sats"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:42.536074Z","level":"INFO","fields":{"message":"Starting new swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:42.537178Z","level":"DEBUG","fields":{"message":"Advancing state","state":"execution setup done"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:44.918704Z","level":"INFO","fields":{"message":"Published Bitcoin transaction","txid":"59d7aef6408775188fb1e37c047c1ad6c6e176e0926c025fa03fd522abe70122","kind":"lock"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:44.925231Z","level":"DEBUG","fields":{"message":"Advancing state","state":"btc is locked"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:04:45.171373Z","level":"DEBUG","fields":{"message":"Found relevant Bitcoin transaction","txid":"59d7aef6408775188fb1e37c047c1ad6c6e176e0926c025fa03fd522abe70122","status":"unseen"},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-24T19:04:45.172544Z","level":"INFO","fields":{"message":"Waiting for Alice to lock Monero"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:05:16.591536Z","level":"DEBUG","fields":{"message":"Shutdown signal received, exiting"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:05:16.592019Z","level":"DEBUG","fields":{"message":"Releasing swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-24T19:05:52.106388Z","level":"DEBUG","fields":{"message":"Bitcoin transaction status changed","txid":"59d7aef6408775188fb1e37c047c1ad6c6e176e0926c025fa03fd522abe70122","new_status":"in mempool","old_status":"unseen"},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"51584cbb-1b82-4bb9-9a91-fd65f632e990\"","method_name":"BuyXmr","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:26:17.782840Z","level":"DEBUG","fields":{"message":"Acquiring swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:17.824537Z","level":"DEBUG","fields":{"message":"Network layer initialized","peer_id":"12D3KooWHD2gT5GrhnLDqN7Q1FYYzJKvWjjMfVgqFHPo6rtKG3S5"},"span":{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:17.828092Z","level":"DEBUG","fields":{"message":"Advancing state","state":"btc is locked"},"span":{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:17.830945Z","level":"DEBUG","fields":{"message":"Found relevant Bitcoin transaction","txid":"59d7aef6408775188fb1e37c047c1ad6c6e176e0926c025fa03fd522abe70122","status":"confirmed with 38999 blocks"},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:26:17.836954Z","level":"DEBUG","fields":{"message":"Advancing state","state":"cancel timelock is expired"},"span":{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:17.837063Z","level":"WARN","fields":{"message":"Failed to dial Alice","error":"An error occurred while negotiating the transport protocol(s) on a connection: [(\"/ip4/127.0.0.1/tcp/9939/p2p/12D3KooWEJxNSpzsUiFTL5etJBcfH9GsUJGb2BBUCS9HGVu19idT\", Other(Custom { kind: Other, error: Other(A(B(Select(ProtocolError(IoError(Os { code: 32, kind: BrokenPipe, message: \"Broken pipe\" })))))) }))]."},"span":{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:18.160602Z","level":"ERROR","fields":{"message":"Failed to resume swap: Failed to broadcast Bitcoin cancel transaction 3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a: Electrum client error: Electrum server error: \"sendrawtransaction RPC error: {\\\"code\\\":-26,\\\"message\\\":\\\"bad-txns-vout-negative\\\"}\"","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:18.161787Z","level":"DEBUG","fields":{"message":"Releasing swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:18.162118Z","level":"DEBUG","fields":{"message":"Found relevant Bitcoin transaction","txid":"3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a","status":"unseen"},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:26:34.049689Z","level":"DEBUG","fields":{"message":"Acquiring swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:34.055191Z","level":"DEBUG","fields":{"message":"Network layer initialized","peer_id":"12D3KooWHD2gT5GrhnLDqN7Q1FYYzJKvWjjMfVgqFHPo6rtKG3S5"},"span":{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:34.056657Z","level":"DEBUG","fields":{"message":"Advancing state","state":"cancel timelock is expired"},"span":{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:34.186360Z","level":"WARN","fields":{"message":"Failed to dial Alice","error":"An error occurred while negotiating the transport protocol(s) on a connection: [(\"/ip4/127.0.0.1/tcp/9939/p2p/12D3KooWEJxNSpzsUiFTL5etJBcfH9GsUJGb2BBUCS9HGVu19idT\", Other(Custom { kind: Other, error: Other(A(B(Select(ProtocolError(IoError(Os { code: 32, kind: BrokenPipe, message: \"Broken pipe\" })))))) }))]."},"span":{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:34.414327Z","level":"ERROR","fields":{"message":"Failed to resume swap: Failed to broadcast Bitcoin cancel transaction 3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a: Electrum client error: Electrum server error: \"sendrawtransaction RPC error: {\\\"code\\\":-26,\\\"message\\\":\\\"bad-txns-vout-negative\\\"}\"","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:26:34.414549Z","level":"DEBUG","fields":{"message":"Releasing swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"842953ae-f6cc-4683-8b2d-07f9f6700651\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:28:18.468522Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":2861297},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:28:18.592067Z","level":"DEBUG","fields":{"message":"Bitcoin transaction status changed","txid":"59d7aef6408775188fb1e37c047c1ad6c6e176e0926c025fa03fd522abe70122","new_status":"confirmed with 39002 blocks","old_status":"confirmed with 38999 blocks"},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"1256e172-e19f-4710-945d-7bf13a1add63\"","method_name":"Resume","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:29:40.583133Z","level":"DEBUG","fields":{"message":"Acquiring swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.584414Z","level":"INFO","fields":{"message":"Manually cancelling swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.744080Z","level":"DEBUG","fields":{"message":"parse rpc error","error_code":"-26"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.744294Z","level":"INFO","fields":{"message":"Could not submit cancel transaction","err":"Failed to broadcast Bitcoin cancel transaction 3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.745929Z","level":"INFO","fields":{"message":"Manually refunding swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.745905Z","level":"DEBUG","fields":{"message":"Found relevant Bitcoin transaction","txid":"3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a","status":"unseen"},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:29:40.901467Z","level":"DEBUG","fields":{"message":"Releasing swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.904478Z","level":"DEBUG","fields":{"message":"API call resulted in an error","err":"Failed to broadcast Bitcoin refund transaction 680a4edf6debae3778dffeb60e02ffdee98bba991a717900d4f5e47e0c529e2f\n\nCaused by:\n    Electrum client error: Electrum server error: \"sendrawtransaction RPC error: {\\\"code\\\":-26,\\\"message\\\":\\\"bad-txns-vout-negative\\\"}\""},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:41.337120Z","level":"DEBUG","fields":{"message":"Found relevant Bitcoin transaction","txid":"680a4edf6debae3778dffeb60e02ffdee98bba991a717900d4f5e47e0c529e2f","status":"unseen"},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:30:30.617303Z","level":"DEBUG","fields":{"message":"Acquiring swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.618608Z","level":"INFO","fields":{"message":"Manually cancelling swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.747678Z","level":"DEBUG","fields":{"message":"parse rpc error","error_code":"-26"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.747799Z","level":"INFO","fields":{"message":"Could not submit cancel transaction","err":"Failed to broadcast Bitcoin cancel transaction 3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.748392Z","level":"INFO","fields":{"message":"Manually refunding swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.950232Z","level":"DEBUG","fields":{"message":"Releasing swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.950460Z","level":"DEBUG","fields":{"message":"API call resulted in an error","err":"Failed to broadcast Bitcoin refund transaction 680a4edf6debae3778dffeb60e02ffdee98bba991a717900d4f5e47e0c529e2f\n\nCaused by:\n    Electrum client error: Electrum server error: \"sendrawtransaction RPC error: {\\\"code\\\":-26,\\\"message\\\":\\\"bad-txns-vout-negative\\\"}\""},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:41.106529Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":2861306},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:31:43.309722Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":2861308},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:32:45.566872Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":2861310},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:33:10.215422Z","level":"DEBUG","fields":{"message":"Acquiring swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.216245Z","level":"INFO","fields":{"message":"Manually cancelling swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.343804Z","level":"DEBUG","fields":{"message":"parse rpc error","error_code":"-26"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.343919Z","level":"INFO","fields":{"message":"Could not submit cancel transaction","err":"Failed to broadcast Bitcoin cancel transaction 3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.344471Z","level":"INFO","fields":{"message":"Manually refunding swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.471130Z","level":"DEBUG","fields":{"message":"Releasing swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.471243Z","level":"DEBUG","fields":{"message":"API call resulted in an error","err":"Failed to broadcast Bitcoin refund transaction 680a4edf6debae3778dffeb60e02ffdee98bba991a717900d4f5e47e0c529e2f\n\nCaused by:\n    Electrum client error: Electrum server error: \"sendrawtransaction RPC error: {\\\"code\\\":-26,\\\"message\\\":\\\"bad-txns-vout-negative\\\"}\""},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:46.177061Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":2861314},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:29:40.583194Z","level":"DEBUG","fields":{"message":"Acquiring swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.58446Z","level":"INFO","fields":{"message":"Manually cancelling swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.744186Z","level":"DEBUG","fields":{"message":"parse rpc error","error_code":"-26"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.74459Z","level":"INFO","fields":{"message":"Could not submit cancel transaction","err":"Failed to broadcast Bitcoin cancel transaction 3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.745978Z","level":"INFO","fields":{"message":"Manually refunding swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.745995Z","level":"DEBUG","fields":{"message":"Found relevant Bitcoin transaction","txid":"3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a","status":"unseen"},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:29:40.901593Z","level":"DEBUG","fields":{"message":"Releasing swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:40.904669Z","level":"DEBUG","fields":{"message":"API call resulted in an error","err":"Failed to broadcast Bitcoin refund transaction 680a4edf6debae3778dffeb60e02ffdee98bba991a717900d4f5e47e0c529e2f\n\nCaused by:\n    Electrum client error: Electrum server error: \"sendrawtransaction RPC error: {\\\"code\\\":-26,\\\"message\\\":\\\"bad-txns-vout-negative\\\"}\""},"span":{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:29:41.337362Z","level":"DEBUG","fields":{"message":"Found relevant Bitcoin transaction","txid":"680a4edf6debae3778dffeb60e02ffdee98bba991a717900d4f5e47e0c529e2f","status":"unseen"},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:30:30.617427Z","level":"DEBUG","fields":{"message":"Acquiring swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.618677Z","level":"INFO","fields":{"message":"Manually cancelling swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.747756Z","level":"DEBUG","fields":{"message":"parse rpc error","error_code":"-26"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.747836Z","level":"INFO","fields":{"message":"Could not submit cancel transaction","err":"Failed to broadcast Bitcoin cancel transaction 3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.748435Z","level":"INFO","fields":{"message":"Manually refunding swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.95036Z","level":"DEBUG","fields":{"message":"Releasing swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:30.950509Z","level":"DEBUG","fields":{"message":"API call resulted in an error","err":"Failed to broadcast Bitcoin refund transaction 680a4edf6debae3778dffeb60e02ffdee98bba991a717900d4f5e47e0c529e2f\n\nCaused by:\n    Electrum client error: Electrum server error: \"sendrawtransaction RPC error: {\\\"code\\\":-26,\\\"message\\\":\\\"bad-txns-vout-negative\\\"}\""},"span":{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"341ecc61-8a58-4268-b7e6-a2d5bbf1bb4f\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:30:41.106643Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":2861306},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:31:43.310016Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":2861308},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:32:45.567172Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":2861310},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}
{"timestamp":"2024-06-27T10:33:10.215504Z","level":"DEBUG","fields":{"message":"Acquiring swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.21629Z","level":"INFO","fields":{"message":"Manually cancelling swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.343874Z","level":"DEBUG","fields":{"message":"parse rpc error","error_code":"-26"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.34395Z","level":"INFO","fields":{"message":"Could not submit cancel transaction","err":"Failed to broadcast Bitcoin cancel transaction 3e7f77a19ae00d6a46c393ac4fcd9dc630df8fe17a0a32f2f7ef169a8b42a96a"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.34451Z","level":"INFO","fields":{"message":"Manually refunding swap","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.471196Z","level":"DEBUG","fields":{"message":"Releasing swap lock","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2"},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:10.471268Z","level":"DEBUG","fields":{"message":"API call resulted in an error","err":"Failed to broadcast Bitcoin refund transaction 680a4edf6debae3778dffeb60e02ffdee98bba991a717900d4f5e47e0c529e2f\n\nCaused by:\n    Electrum client error: Electrum server error: \"sendrawtransaction RPC error: {\\\"code\\\":-26,\\\"message\\\":\\\"bad-txns-vout-negative\\\"}\""},"span":{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},"spans":[{"log_reference_id":"\"dc4bde57-3c6b-43b2-bf87-bc5fd594d5e2\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"}]}
{"timestamp":"2024-06-27T10:33:46.177311Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":2861314},"span":{"name":"BitcoinWalletSubscription"},"spans":[{"log_reference_id":"\"a8192421-ffba-447e-afb9-1d599f4f00ee\"","method_name":"CancelAndRefund","swap_id":"caf9f9e1-11e0-42bd-9288-843864acccc2","name":"method"},{"name":"BitcoinWalletSubscription"}]}

Platform (please complete the following information):

@binarybaron binarybaron added the cli Related to the swap CLI tool label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the swap CLI tool
Projects
None yet
Development

No branches or pull requests

1 participant