mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-28 15:35:40 +00:00
Merge pull request #14513 from obscuren/allocate-stack
core/vm: allocate stack to 1024
This commit is contained in:
commit
b596b4ba5b
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user