aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/vm/stack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/stack.go b/core/vm/stack.go
index f4777c5b3..9c10d50ad 100644
--- a/core/vm/stack.go
+++ b/core/vm/stack.go
@@ -29,7 +29,7 @@ type Stack struct {
}
func newstack() *Stack {
- return &Stack{}
+ return &Stack{data: make([]*big.Int, 0, 1024)}
}
func (st *Stack) Data() []*big.Int {