From e1dff071d35ea01c799ebd0f8e602d07a128cddf Mon Sep 17 00:00:00 2001 From: Bernardo Ramos Date: Wed, 14 Jan 2026 17:09:19 +0000 Subject: [PATCH] fix build on new go versions --- contract/lstate_factory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract/lstate_factory.go b/contract/lstate_factory.go index a35f28091..f202b9e13 100644 --- a/contract/lstate_factory.go +++ b/contract/lstate_factory.go @@ -76,7 +76,7 @@ func newLState() *LState { return C.vm_newstate(C.int(currentForkVersion)) } -func (L *LState) close() { +func closeLState(L *LState) { if L != nil { C.lua_close(L) }