mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-30 02:07:36 +00:00
cmd/geth: release account iterator in listEIP7610EligibleAccounts (#35250)
listEIP7610EligibleAccounts opens an account iterator and never releases it.
This commit is contained in:
parent
11524ba075
commit
a0568b1dbf
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue