We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78f07b4 commit 536c50cCopy full SHA for 536c50c
precompiles/src/extensions.rs
@@ -98,7 +98,7 @@ pub(crate) trait PrecompileHandleExt: PrecompileHandle {
98
where
99
R: frame_system::Config + pallet_evm::Config,
100
{
101
- if post_info.pays_fee(&info) == Pays::Yes {
+ if post_info.pays_fee(info) == Pays::Yes {
102
let actual_weight = post_info.actual_weight.unwrap_or(info.call_weight);
103
let cost = <R as pallet_evm::Config>::GasWeightMapping::weight_to_gas(actual_weight);
104
self.record_cost(cost)?;
0 commit comments