mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-16 16:10:40 +00:00
core/state: fix log format (#31610)
Log `key` in hexadecimal string format.
This commit is contained in:
parent
ebb3eb29d3
commit
846d578cc3
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ func (s *StateDB) DumpToCollector(c DumpCollector, conf *DumpConfig) (nextKey []
|
|||
c.OnAccount(address, account)
|
||||
accounts++
|
||||
if time.Since(logged) > 8*time.Second {
|
||||
log.Info("Trie dumping in progress", "at", it.Key, "accounts", accounts,
|
||||
log.Info("Trie dumping in progress", "at", common.Bytes2Hex(it.Key), "accounts", accounts,
|
||||
"elapsed", common.PrettyDuration(time.Since(start)))
|
||||
logged = time.Now()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue