mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-06-15 02:19:15 -04:00
Distinguish permanent and transient error when watching tx
This commit is contained in:
parent
b66bb00c77
commit
77ec7e502f
2 changed files with 13 additions and 6 deletions
|
@ -86,7 +86,7 @@ async fn run_until_internal(
|
|||
swap_id: Uuid,
|
||||
db: Arc<Database>,
|
||||
) -> Result<AliceState> {
|
||||
info!("Current state:{}", state);
|
||||
info!("Current state: {}", state);
|
||||
if is_target_state(&state) {
|
||||
Ok(state)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue