mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-20 07:56:05 -04:00
return accidentally removed code
This commit is contained in:
parent
b18c874b3e
commit
4b5c54e3e4
@ -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…
x
Reference in New Issue
Block a user