Style fixed after review
This commit is contained in:
parent
dd91121017
commit
bfd238e000
@ -91,7 +91,7 @@ pub struct ExecutedBlock {
|
||||
receipts: Vec<Receipt>,
|
||||
transactions_set: HashSet<H256>,
|
||||
state: State<StateDB>,
|
||||
traces: Option<Vec<Vec<FlatTrace>>>
|
||||
traces: Option<Vec<Vec<FlatTrace>>>,
|
||||
}
|
||||
|
||||
/// A set of references to `ExecutedBlock` fields that are publicly accessible.
|
||||
|
@ -170,7 +170,7 @@ impl From<ethjson::spec::Params> for CommonParams {
|
||||
wasm: p.wasm.unwrap_or(false),
|
||||
gas_limit_bound_divisor: p.gas_limit_bound_divisor.into(),
|
||||
block_reward: p.block_reward.map_or_else(U256::zero, Into::into),
|
||||
registrar: p.registrar.map_or_else(Address::new, Into::into)
|
||||
registrar: p.registrar.map_or_else(Address::new, Into::into),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -130,8 +130,7 @@ impl Filter {
|
||||
from_matches && to_matches
|
||||
},
|
||||
Action::Reward(ref reward) => {
|
||||
let to_matches = self.to_address.matches(&reward.author);
|
||||
to_matches
|
||||
self.to_address.matches(&reward.author)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user