Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 3f2fd61

Browse files
Jongsicandresilva
authored andcommitted
Fix loop start value (#9285)
1 parent 25604dc commit 3f2fd61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethcore/src/client/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1843,7 +1843,7 @@ impl BlockChainClient for Client {
18431843
// Otherwise, we use a slower version that finds a link between from_block and to_block.
18441844
let from_hash = Self::block_hash(&chain, filter.from_block)?;
18451845
let from_number = chain.block_number(&from_hash)?;
1846-
let to_hash = Self::block_hash(&chain, filter.from_block)?;
1846+
let to_hash = Self::block_hash(&chain, filter.to_block)?;
18471847

18481848
let blooms = filter.bloom_possibilities();
18491849
let bloom_match = |header: &encoded::Header| {

0 commit comments

Comments
 (0)