diff options
Diffstat (limited to 'core/vm/common.go')
-rw-r--r-- | core/vm/common.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/common.go b/core/vm/common.go index ef40c4a95..779cee006 100644 --- a/core/vm/common.go +++ b/core/vm/common.go @@ -25,7 +25,7 @@ import ( // calculates the memory size required for a step func calcMemSize(off, l *big.Int) *big.Int { - if l.Cmp(common.Big0) == 0 { + if l.Sign() == 0 { return common.Big0 } |