mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Remove import line in favor of FQ macro usage
This commit is contained in:
parent
4c2e254543
commit
5d75f1adba
@ -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<BobState> {
|
||||
trace!("Current state: {}", state);
|
||||
tracing::trace!("Current state: {}", state);
|
||||
|
||||
Ok(match state {
|
||||
BobState::Started { btc_amount } => {
|
||||
|
Loading…
Reference in New Issue
Block a user