From a0568b1dbfdebb2db967283d44cdef3b83f41013 Mon Sep 17 00:00:00 2001 From: rayoo Date: Mon, 29 Jun 2026 06:41:33 -0700 Subject: [PATCH] cmd/geth: release account iterator in listEIP7610EligibleAccounts (#35250) listEIP7610EligibleAccounts opens an account iterator and never releases it. --- cmd/geth/snapshot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/geth/snapshot.go b/cmd/geth/snapshot.go index 8fedc21c27..c0258df68c 100644 --- a/cmd/geth/snapshot.go +++ b/cmd/geth/snapshot.go @@ -1054,6 +1054,7 @@ func listEIP7610EligibleAccounts(ctx *cli.Context) error { log.Error("Failed to get account iterator", "err", err) return err } + defer iter.Release() var ( start = time.Now() accounts []common.Address