fix small2

This commit is contained in:
Roy Crihfield 2023-09-24 18:41:58 +08:00
parent 2a4a36410a
commit 7cd43d1488
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -28,7 +28,7 @@ func testReadChainData(t *testing.T, data *chaindata.Paths) {
}
header := rawdb.ReadHeader(edb, hash, *height)
if header == nil {
t.Fatalf("unable to read canonical header at height %d", height)
t.Fatalf("unable to read canonical header at height %d", *height)
}
sdb := state.NewDatabase(edb)
tree, err := sdb.OpenTrie(header.Root)