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 {
1155
1155
}
1156
1156
}
1157
1157
1158
- fn get_best_block ( & self ) -> AsyncBlockSourceResult < ( bitcoin:: BlockHash , Option < u32 > ) > {
1158
+ fn get_best_block ( & self ) -> AsyncBlockSourceResult < ' _ , ( bitcoin:: BlockHash , Option < u32 > ) > {
1159
1159
match self {
1160
1160
BitcoindClient :: Rpc { rpc_client, .. } => {
1161
1161
Box :: pin ( async move { rpc_client. get_best_block ( ) . await } )
Original file line number Diff line number Diff line change 36
36
Self { queue_sender, queue_receiver : Mutex :: new ( queue_receiver) , logger }
37
37
}
38
38
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 > > > {
40
42
self . queue_receiver . lock ( ) . await
41
43
}
42
44
}
You can’t perform that action at this time.
0 commit comments