File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1155,7 +1155,7 @@ impl BlockSource for BitcoindClient {
11551155 }
11561156 }
11571157
1158- fn get_best_block ( & self ) -> AsyncBlockSourceResult < ( bitcoin:: BlockHash , Option < u32 > ) > {
1158+ fn get_best_block ( & self ) -> AsyncBlockSourceResult < ' _ , ( bitcoin:: BlockHash , Option < u32 > ) > {
11591159 match self {
11601160 BitcoindClient :: Rpc { rpc_client, .. } => {
11611161 Box :: pin ( async move { rpc_client. get_best_block ( ) . await } )
Original file line number Diff line number Diff line change 3636 Self { queue_sender, queue_receiver : Mutex :: new ( queue_receiver) , logger }
3737 }
3838
39- pub ( crate ) async fn get_broadcast_queue ( & self ) -> MutexGuard < mpsc:: Receiver < Vec < Transaction > > > {
39+ pub ( crate ) async fn get_broadcast_queue (
40+ & self ,
41+ ) -> MutexGuard < ' _ , mpsc:: Receiver < Vec < Transaction > > > {
4042 self . queue_receiver . lock ( ) . await
4143 }
4244}
You can’t perform that action at this time.
0 commit comments