1515
1616use chainstate:: ChainInfo ;
1717use common:: {
18- chain:: { Block , GenBlock , SignedTransaction , Transaction } ,
18+ chain:: { Block , GenBlock , SignedTransaction } ,
1919 primitives:: { BlockHeight , Id } ,
2020} ;
2121use mempool:: FeeRate ;
@@ -42,10 +42,6 @@ pub trait RemoteNode {
4242 ) -> Result < Vec < Block > , Self :: Error > ;
4343
4444 async fn mempool_feerate_points ( & self ) -> Result < Vec < ( usize , FeeRate ) > , Self :: Error > ;
45- async fn mempool_get_transaction (
46- & self ,
47- tx_id : Id < Transaction > ,
48- ) -> Result < Option < SignedTransaction > , Self :: Error > ;
4945 async fn mempool_get_transactions ( & self ) -> Result < Vec < SignedTransaction > , Self :: Error > ;
5046}
5147
@@ -76,13 +72,6 @@ impl RemoteNode for NodeRpcClient {
7672 self . mempool_get_fee_rate_points ( ) . await
7773 }
7874
79- async fn mempool_get_transaction (
80- & self ,
81- tx_id : Id < Transaction > ,
82- ) -> Result < Option < SignedTransaction > , Self :: Error > {
83- NodeInterface :: mempool_get_transaction ( self , tx_id) . await
84- }
85-
8675 async fn mempool_get_transactions ( & self ) -> Result < Vec < SignedTransaction > , Self :: Error > {
8776 NodeInterface :: mempool_get_transactions ( self ) . await
8877 }
0 commit comments