fixed indention issues
This commit is contained in:
parent
9b02a8bd5f
commit
a6240c0d30
@ -235,11 +235,7 @@ impl<'a, D> Filter for ChainFilter<'a, D> where D: FilterDataSource
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// returns numbers of blocks that may contain Address
|
/// returns numbers of blocks that may contain Address
|
||||||
fn blocks_with_address(&self,
|
fn blocks_with_address(&self, address: &Address, from_block: usize, to_block: usize) -> Vec<usize> {
|
||||||
address: &Address,
|
|
||||||
from_block: usize,
|
|
||||||
to_block: usize)
|
|
||||||
-> Vec<usize> {
|
|
||||||
let mut bloom = H2048::new();
|
let mut bloom = H2048::new();
|
||||||
bloom.shift_bloom(&address.sha3());
|
bloom.shift_bloom(&address.sha3());
|
||||||
self.blocks_with_bloom(&bloom, from_block, to_block)
|
self.blocks_with_bloom(&bloom, from_block, to_block)
|
||||||
|
Loading…
Reference in New Issue
Block a user