From 7f6d88420111e7c98d162ef68879d938fd00f535 Mon Sep 17 00:00:00 2001 From: Gary Rong Date: Wed, 20 Mar 2024 10:06:04 +0800 Subject: [PATCH] cmd/geth: improve --- cmd/geth/dbcmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/geth/dbcmd.go b/cmd/geth/dbcmd.go index e6d4b89c17..4e2c49b7b6 100644 --- a/cmd/geth/dbcmd.go +++ b/cmd/geth/dbcmd.go @@ -862,7 +862,7 @@ func inspectHistory(ctx *cli.Context) error { if slot == (common.Hash{}) { fmt.Printf("Account history:\n\taddress: %s\n\tblockrange: [#%d-#%d]\n", address.Hex(), stats.Start, stats.End) } else { - fmt.Printf("Storage history:\n\taddress: %s\n\tslot: %s\nblockrange: [#%d-#%d]\n", address.Hex(), slot.Hex(), stats.Start, stats.End) + fmt.Printf("Storage history:\n\taddress: %s\n\tslot: %s\n\tblockrange: [#%d-#%d]\n", address.Hex(), slot.Hex(), stats.Start, stats.End) } fmt.Printf("\nThe output shows block number where account/slot was modified, along with the _old_ rlp-encoded value\n") for i := 0; i < len(stats.Blocks); i++ {