Skip to content

Commit

Permalink
Merge pull request #413 from tnull/2024-12-drop-elided-lifetime-name
Browse files Browse the repository at this point in the history
Drop name of elided lifetime
  • Loading branch information
tnull authored Dec 2, 2024
2 parents c605781 + ee782f3 commit 05130b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chain/bitcoind_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ impl BlockSource for BitcoindRpcClient {
Box::pin(async move { self.rpc_client.get_block(header_hash).await })
}

fn get_best_block<'a>(&'a self) -> AsyncBlockSourceResult<(BlockHash, Option<u32>)> {
fn get_best_block(&self) -> AsyncBlockSourceResult<(BlockHash, Option<u32>)> {
Box::pin(async move { self.rpc_client.get_best_block().await })
}
}
Expand Down

0 comments on commit 05130b6

Please sign in to comment.