From 3f2fd610d9108da8bbccad85ebcea655ffce537e Mon Sep 17 00:00:00 2001 From: Jongsic Choi Date: Mon, 6 Aug 2018 20:04:28 +0900 Subject: [PATCH] Fix loop start value (#9285) --- ethcore/src/client/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/client/client.rs b/ethcore/src/client/client.rs index 3a7fd0d0c..efc8b3f2e 100644 --- a/ethcore/src/client/client.rs +++ b/ethcore/src/client/client.rs @@ -1843,7 +1843,7 @@ impl BlockChainClient for Client { // Otherwise, we use a slower version that finds a link between from_block and to_block. let from_hash = Self::block_hash(&chain, filter.from_block)?; let from_number = chain.block_number(&from_hash)?; - let to_hash = Self::block_hash(&chain, filter.from_block)?; + let to_hash = Self::block_hash(&chain, filter.to_block)?; let blooms = filter.bloom_possibilities(); let bloom_match = |header: &encoded::Header| {