commit 28ab8f182764279ec2d15f5137dc8c9a530c26a5
parent 7d37935a6ed58a5a4ebba68ff4fc2881ee6b88ae
Author: parazyd <parazyd@dyne.org>
Date: Wed, 9 Mar 2022 16:53:53 +0100
runtime: Correct comment typo.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/runtime.rs b/src/runtime.rs
@@ -58,7 +58,7 @@ impl Runtime {
}
};
- // `Metering` needs to be configured with a limit and a const function.
+ // `Metering` needs to be configured with a limit and a cost function.
// For each `Operator`, the metering middleware will call the cost
// function and subtract the cost from the remaining points.
let metering = Arc::new(Metering::new(GAS_LIMIT, cost_function));