Update core/rawdb/database.go

Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
This commit is contained in:
Jason-W123 2026-05-08 01:07:13 +08:00 committed by GitHub
parent 1fe1ef3d33
commit 104d732441
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -719,7 +719,7 @@ func ReadChainMetadata(db ethdb.KeyValueStore) [][]string {
// more actionable message instead of the generic "<nil>".
ppDatabaseVersion := func(val *uint64) string {
if val == nil {
return "not set (new or uninitialized database)"
return "<nil>, database not initialized"
}
return fmt.Sprintf("%d (%#x)", *val, *val)
}