Distinguish permanent and transient error when watching tx

This commit is contained in:
Daniel Karzel 2021-02-16 15:19:11 +11:00
parent b66bb00c77
commit 77ec7e502f
2 changed files with 13 additions and 6 deletions

View file

@ -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 {