cmd/geth: fix format

This commit is contained in:
Gary Rong 2024-03-20 22:05:36 +08:00
parent 9deda7ff72
commit 6ba1dc1391

View file

@ -847,7 +847,7 @@ func inspectStorage(db *triedb.Database, start uint64, end uint64, address commo
fmt.Printf("Failed to decode storage slot, %v", err) fmt.Printf("Failed to decode storage slot, %v", err)
return err return err
} }
content = fmt.Sprintf("#%x", data) content = fmt.Sprintf("%x", data)
} }
} }
fmt.Printf("#%d - #%d: %s\n", from, stats.Blocks[i], content) fmt.Printf("#%d - #%d: %s\n", from, stats.Blocks[i], content)