From 2e72170632aeb75ce4351eea5faf7942fccfa211 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Thu, 23 Apr 2026 17:59:35 +0200 Subject: [PATCH] use available arenas instead of allocating new ones --- core/vm/stack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/stack.go b/core/vm/stack.go index 7d5e57f288..d8000bc86d 100644 --- a/core/vm/stack.go +++ b/core/vm/stack.go @@ -30,7 +30,7 @@ type stackArena struct { } func newArena() *stackArena { - return stackPool.New().(*stackArena) + return stackPool.Get().(*stackArena) } // 1025, because in stack() there is a condition check