diff options
Diffstat (limited to 'core/vm/memory_table.go')
-rw-r--r-- | core/vm/memory_table.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/vm/memory_table.go b/core/vm/memory_table.go index bb48e3215..13f15b943 100644 --- a/core/vm/memory_table.go +++ b/core/vm/memory_table.go @@ -43,15 +43,15 @@ func memoryExtCodeCopy(stack *Stack) *big.Int { } func memoryMLoad(stack *Stack) *big.Int { - return calcMemSize(stack.Back(0), big.NewInt(32)) + return calcMemSize(stack.Back(0), big32) } func memoryMStore8(stack *Stack) *big.Int { - return calcMemSize(stack.Back(0), big.NewInt(1)) + return calcMemSize(stack.Back(0), big1) } func memoryMStore(stack *Stack) *big.Int { - return calcMemSize(stack.Back(0), big.NewInt(32)) + return calcMemSize(stack.Back(0), big32) } func memoryCreate(stack *Stack) *big.Int { |