mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
cmd/geth: log current key in expandVerkle instead of keylist[0] (#32689)
Fix logging in the verkle dump path to report the actual key being processed. Previously, the loop always logged keylist[0], which misled users when expanding multiple keys and made debugging harder. This change aligns the log with the key passed to root.Get, improving traceability and diagnostics.
This commit is contained in:
parent
367b5fbe42
commit
5c535074ac
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ func expandVerkle(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
for i, key := range keylist {
|
for i, key := range keylist {
|
||||||
log.Info("Reading key", "index", i, "key", keylist[0])
|
log.Info("Reading key", "index", i, "key", key)
|
||||||
root.Get(key, chaindb.Get)
|
root.Get(key, chaindb.Get)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue