diff --git a/src/electrum.rs b/src/electrum.rs index 0e118fd..40467a7 100644 --- a/src/electrum.rs +++ b/src/electrum.rs @@ -254,8 +254,8 @@ impl Rpc { Some(status) => self.tracker.get_balance(status), None => { info!( - "{} blockchain.scripthash.get_balance called for unsubscribed scripthash: {}", - UNSUBSCRIBED_QUERY_MESSAGE, scripthash + "{} blockchain.scripthash.get_balance called for unsubscribed scripthash", + UNSUBSCRIBED_QUERY_MESSAGE ); self.tracker.get_balance(&self.new_status(*scripthash)?) } @@ -272,8 +272,8 @@ impl Rpc { Some(status) => json!(status.get_history()), None => { info!( - "{} blockchain.scripthash.get_history called for unsubscribed scripthash: {}", - UNSUBSCRIBED_QUERY_MESSAGE, scripthash + "{} blockchain.scripthash.get_history called for unsubscribed scripthash", + UNSUBSCRIBED_QUERY_MESSAGE ); json!(self.new_status(*scripthash)?.get_history()) } @@ -290,8 +290,8 @@ impl Rpc { Some(status) => self.tracker.get_unspent(status), None => { info!( - "{} blockchain.scripthash.listunspent called for unsubscribed scripthash: {}", - UNSUBSCRIBED_QUERY_MESSAGE, scripthash + "{} blockchain.scripthash.listunspent called for unsubscribed scripthash", + UNSUBSCRIBED_QUERY_MESSAGE ); self.tracker.get_unspent(&self.new_status(*scripthash)?) }