Skip to content

Commit 7bdedb4

Browse files
hydaikimmyeonghun
authored andcommitted
core/vm: Fixed typos in core/vm/interpreter.go
1 parent f987a9b commit 7bdedb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/vm/interpreter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type Config struct {
4242
}
4343

4444
// Interpreter is used to run Ethereum based contracts and will utilise the
45-
// passed evmironment to query external sources for state information.
45+
// passed environment to query external sources for state information.
4646
// The Interpreter will run the byte code VM based on the passed
4747
// configuration.
4848
type Interpreter struct {
@@ -184,7 +184,7 @@ func (in *Interpreter) Run(contract *Contract, input []byte) (ret []byte, err er
184184
}
185185
}
186186
// consume the gas and return an error if not enough gas is available.
187-
// cost is explicitly set so that the capture state defer method cas get the proper cost
187+
// cost is explicitly set so that the capture state defer method can get the proper cost
188188
cost, err = operation.gasCost(in.gasTable, in.evm, contract, stack, mem, memorySize)
189189
if err != nil || !contract.UseGas(cost) {
190190
return nil, ErrOutOfGas

0 commit comments

Comments
 (0)