Don't log subscription

This object is very verbose and not meant to be logged.
pull/387/head
Thomas Eizinger 3 years ago
parent 5b230bc75f
commit 4c2e254543
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

@ -8,7 +8,7 @@ use crate::{bitcoin, monero};
use anyhow::{bail, Context, Result};
use rand::rngs::OsRng;
use tokio::select;
use tracing::{info, trace};
use tracing::trace;
pub fn is_complete(state: &BobState) -> bool {
matches!(
@ -159,8 +159,6 @@ async fn next_state(
BobState::XmrLocked(state) => {
let tx_lock_status = bitcoin_wallet.subscribe_to(state.tx_lock.clone()).await;
info!("{:?}", tx_lock_status);
if let ExpiredTimelocks::None = state.expired_timelock(bitcoin_wallet).await? {
// Alice has locked Xmr
// Bob sends Alice his key

Loading…
Cancel
Save