Skip to content

Commit 536c50c

Browse files
committed
cargo clippy
1 parent 78f07b4 commit 536c50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

precompiles/src/extensions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub(crate) trait PrecompileHandleExt: PrecompileHandle {
9898
where
9999
R: frame_system::Config + pallet_evm::Config,
100100
{
101-
if post_info.pays_fee(&info) == Pays::Yes {
101+
if post_info.pays_fee(info) == Pays::Yes {
102102
let actual_weight = post_info.actual_weight.unwrap_or(info.call_weight);
103103
let cost = <R as pallet_evm::Config>::GasWeightMapping::weight_to_gas(actual_weight);
104104
self.record_cost(cost)?;

0 commit comments

Comments
 (0)