ethereum: Clarify that block triggers are either unconditional or by call
@@ -748,11 +748,7 @@ pub trait EthereumAdapter: Send + Sync + 'static {
.collect()
}),
))
- }
-
- match block_filter.contract_addresses.len() {
- 0 => (),
- _ => {
+ } else if !block_filter.contract_addresses.is_empty() {
// To determine which blocks include a call to addresses
// in the block filter, transform the `block_filter` into
// a `call_filter` and run `blocks_with_calls`
@@ -768,7 +764,6 @@ pub trait EthereumAdapter: Send + Sync + 'static {
.collect(),
));
}
- }
let logger1 = logger.clone();
Box::new(
