Don't log subscription

This object is very verbose and not meant to be logged.
This commit is contained in:
Thomas Eizinger 2021-03-31 12:09:52 +11:00
parent 5b230bc75f
commit 4c2e254543
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

View File

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