diff --git a/src/service/btc.rs b/src/service/btc.rs index 9cca53fa9..d3c32de88 100644 --- a/src/service/btc.rs +++ b/src/service/btc.rs @@ -358,7 +358,6 @@ impl BtcClient { async fn handle_subscribe_request( self: Arc, - //tx: impl Watchable + Send + 'static, btc_keys: Account, drk_pub_key: jubjub::SubgroupPoint, ) -> BtcResult<()> { @@ -771,21 +770,6 @@ impl fmt::Display for ScriptStatus { } } } - -pub trait Watchable { - fn id(&self) -> Txid; - fn script(&self) -> Script; -} - -impl Watchable for (Txid, Script) { - fn id(&self) -> Txid { - self.0 - } - - fn script(&self) -> Script { - self.1.clone() - } -} impl Encodable for bitcoin::Transaction { fn encode(&self, s: S) -> Result { let tx = self.serialize();