From 0b4097748016395b14ecdc316d2095eb7c968f2a Mon Sep 17 00:00:00 2001
From: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Date: Tue, 24 Aug 2021 13:57:05 +0200
Subject: [PATCH] core/vm: fix typo in comment (#23450)
---
core/vm/gas_table.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/vm/gas_table.go b/core/vm/gas_table.go
index 944b6cf0a..19d2198af 100644
--- a/core/vm/gas_table.go
+++ b/core/vm/gas_table.go
@@ -60,7 +60,7 @@ func memoryGasCost(mem *Memory, newMemSize uint64) (uint64, error) {
// as argument:
// CALLDATACOPY (stack position 2)
// CODECOPY (stack position 2)
-// EXTCODECOPY (stack poition 3)
+// EXTCODECOPY (stack position 3)
// RETURNDATACOPY (stack position 2)
func memoryCopierGas(stackpos int) gasFunc {
return func(evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySize uint64) (uint64, error) {
--
GitLab