fix small2
This commit is contained in:
parent
2a4a36410a
commit
7cd43d1488
BIN
chaindata/_data/small2/000003.ldb
Normal file
BIN
chaindata/_data/small2/000003.ldb
Normal file
Binary file not shown.
Binary file not shown.
@ -28,7 +28,7 @@ func testReadChainData(t *testing.T, data *chaindata.Paths) {
|
|||||||
}
|
}
|
||||||
header := rawdb.ReadHeader(edb, hash, *height)
|
header := rawdb.ReadHeader(edb, hash, *height)
|
||||||
if header == nil {
|
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)
|
sdb := state.NewDatabase(edb)
|
||||||
tree, err := sdb.OpenTrie(header.Root)
|
tree, err := sdb.OpenTrie(header.Root)
|
||||||
|
Loading…
Reference in New Issue
Block a user