From 6663e5da10e7198f7ff5e883fd857240e59d476c Mon Sep 17 00:00:00 2001 From: Liang ZOU Date: Tue, 25 Sep 2018 18:26:35 +0800 Subject: all: fix various comment typos (#17748) --- core/vm/instructions.go | 2 +- core/vm/memory.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core/vm') diff --git a/core/vm/instructions.go b/core/vm/instructions.go index ca9e775ac..4d1bd4a34 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -727,7 +727,7 @@ func opCreate2(pc *uint64, interpreter *EVMInterpreter, contract *Contract, memo } func opCall(pc *uint64, interpreter *EVMInterpreter, contract *Contract, memory *Memory, stack *Stack) ([]byte, error) { - // Pop gas. The actual gas in in interpreter.evm.callGasTemp. + // Pop gas. The actual gas in interpreter.evm.callGasTemp. interpreter.intPool.put(stack.pop()) gas := interpreter.evm.callGasTemp // Pop other call parameters. diff --git a/core/vm/memory.go b/core/vm/memory.go index 722862b1d..7e6f0eb94 100644 --- a/core/vm/memory.go +++ b/core/vm/memory.go @@ -29,7 +29,7 @@ type Memory struct { lastGasCost uint64 } -// NewMemory returns a new memory memory model. +// NewMemory returns a new memory model. func NewMemory() *Memory { return &Memory{} } -- cgit