Skip to content

Commit

Permalink
feat: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
yubing744 committed Jun 6, 2024
1 parent 05fb034 commit 14c5e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moveos/moveos-wasm/src/middlewares/gas_metering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl ModuleMiddleware for GasMiddleware {
let charge_function_index = self.charge_function_index.lock().unwrap().unwrap();

Box::new(GasFunctionMiddleware {
charge_function_index: charge_function_index.clone(),
charge_function_index: charge_function_index,
accumulated_cost: 0,
cost_function: self.cost_function.clone(),
})
Expand Down

0 comments on commit 14c5e85

Please sign in to comment.