mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
Update core/rawdb/database.go
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
This commit is contained in:
parent
1fe1ef3d33
commit
104d732441
1 changed files with 1 additions and 1 deletions
|
|
@ -719,7 +719,7 @@ func ReadChainMetadata(db ethdb.KeyValueStore) [][]string {
|
||||||
// more actionable message instead of the generic "<nil>".
|
// more actionable message instead of the generic "<nil>".
|
||||||
ppDatabaseVersion := func(val *uint64) string {
|
ppDatabaseVersion := func(val *uint64) string {
|
||||||
if val == nil {
|
if val == nil {
|
||||||
return "not set (new or uninitialized database)"
|
return "<nil>, database not initialized"
|
||||||
}
|
}
|
||||||
return fmt.Sprintf("%d (%#x)", *val, *val)
|
return fmt.Sprintf("%d (%#x)", *val, *val)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue