core/vm: fix typos in comments (#19391)

This commit is contained in:
hydai 2019-04-04 19:30:10 +09:00 committed by Martin Holst Swende
parent 36b78abe61
commit 9b3601cfce
1 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ func (l *StructLogger) CaptureState(env *EVM, pc uint64, op OpCode, gas, cost ui
)
l.changedValues[contract.Address()][address] = value
}
// Copy a snapstot of the current memory state to a new buffer
// Copy a snapshot of the current memory state to a new buffer
var mem []byte
if !l.cfg.DisableMemory {
mem = make([]byte, len(memory.Data()))
@ -177,7 +177,7 @@ func (l *StructLogger) CaptureState(env *EVM, pc uint64, op OpCode, gas, cost ui
if !l.cfg.DisableStorage {
storage = l.changedValues[contract.Address()].Copy()
}
// create a new snaptshot of the EVM.
// create a new snapshot of the EVM.
log := StructLog{pc, op, gas, cost, mem, memory.Len(), stck, storage, depth, env.StateDB.GetRefund(), err}
l.logs = append(l.logs, log)