cmd/geth: release account iterator in listEIP7610EligibleAccounts (#35250)

listEIP7610EligibleAccounts opens an account iterator and never releases it.
This commit is contained in:
rayoo 2026-06-29 06:41:33 -07:00 committed by GitHub
parent 11524ba075
commit a0568b1dbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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