good morning!!!!

Skip to content
Snippets Groups Projects
Commit b596b4ba authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #14513 from obscuren/allocate-stack

core/vm: allocate stack to 1024
parents 8b1e4c4c 846d091b
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment