aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/memory.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/vm/memory.go')
-rw-r--r--core/vm/memory.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/vm/memory.go b/core/vm/memory.go
index 99a84d227..d01188417 100644
--- a/core/vm/memory.go
+++ b/core/vm/memory.go
@@ -20,12 +20,11 @@ import "fmt"
// Memory implements a simple memory model for the ethereum virtual machine.
type Memory struct {
- store []byte
- lastGasCost uint64
+ store []byte
}
func NewMemory() *Memory {
- return &Memory{}
+ return &Memory{nil}
}
// Set sets offset + size to value