From 5d75f1adba78061c3bb5ac8708b940861b78d516 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Wed, 31 Mar 2021 12:11:18 +1100 Subject: [PATCH] Remove import line in favor of FQ macro usage --- swap/src/protocol/bob/swap.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swap/src/protocol/bob/swap.rs b/swap/src/protocol/bob/swap.rs index 64f7a8a3..e926c12d 100644 --- a/swap/src/protocol/bob/swap.rs +++ b/swap/src/protocol/bob/swap.rs @@ -8,7 +8,6 @@ use crate::{bitcoin, monero}; use anyhow::{bail, Context, Result}; use rand::rngs::OsRng; use tokio::select; -use tracing::trace; pub fn is_complete(state: &BobState) -> bool { matches!( @@ -59,7 +58,7 @@ async fn next_state( env_config: &Config, receive_monero_address: monero::Address, ) -> Result { - trace!("Current state: {}", state); + tracing::trace!("Current state: {}", state); Ok(match state { BobState::Started { btc_amount } => {