We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f015bc6 commit 3274833Copy full SHA for 3274833
lightning-block-sync/src/poll.rs
@@ -120,7 +120,7 @@ impl std::ops::Deref for ValidatedBlockHeader {
120
impl ValidatedBlockHeader {
121
/// Checks that the header correctly builds on previous_header: the claimed work differential
122
/// matches the actual PoW and the difficulty transition is possible, i.e., within 4x.
123
- fn check_builds_on(&self, previous_header: &ValidatedBlockHeader, network: Network) -> BlockSourceResult<()> {
+ fn check_builds_on(&self, previous_header: &ValidatedBlockHeader, _network: Network) -> BlockSourceResult<()> {
124
if self.header.prev_blockhash != previous_header.block_hash {
125
return Err(BlockSourceError::persistent("invalid previous block hash"));
126
}
0 commit comments