mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-11 06:45:44 -05:00
return accidentally removed code
This commit is contained in:
parent
1d2223c54d
commit
5f392e3b7b
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ pub async fn cancel(
|
|||
return Ok((txid, state));
|
||||
}
|
||||
if let Ok(error_code) = parse_rpc_error_code(&err) {
|
||||
tracing::debug!(%error_code, "parse rpc error");
|
||||
if error_code == i64::from(RpcErrorCode::RpcVerifyAlreadyInChain) {
|
||||
tracing::info!("Cancel transaction has already been confirmed on chain");
|
||||
} else if error_code == i64::from(RpcErrorCode::RpcVerifyError) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue