mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-20 07:56:05 -04:00
Change warning to error when Bob's refund after t2 failed
This commit is contained in:
parent
7a740e876e
commit
1cb0c4fc83
@ -10,7 +10,7 @@ use async_recursion::async_recursion;
|
||||
use rand::{CryptoRng, RngCore};
|
||||
use std::{convert::TryFrom, fmt, sync::Arc};
|
||||
use tokio::select;
|
||||
use tracing::{info, warn};
|
||||
use tracing::{error, info};
|
||||
use uuid::Uuid;
|
||||
use xmr_btc::{
|
||||
bob::{self, State2},
|
||||
@ -407,7 +407,7 @@ where
|
||||
match refund_result {
|
||||
Ok(()) => BobState::BtcRefunded(state),
|
||||
Err(err) => {
|
||||
warn!("Bob tried to refund after T2 has passed, but sending the refund tx errored with {}", err);
|
||||
error!("Bob tried to refund after T2 has passed, but sending the refund tx errored with {}", err);
|
||||
BobState::Punished
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user