mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
fix test
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
8b6bf1e6b3
commit
15d22b1db5
1 changed files with 0 additions and 6 deletions
|
|
@ -100,12 +100,6 @@ func testEncodeDecodeHistory(t *testing.T, rawStorageKey bool) {
|
||||||
if !compareStorages(dec.storages, obj.storages) {
|
if !compareStorages(dec.storages, obj.storages) {
|
||||||
t.Fatal("storage data is mismatched")
|
t.Fatal("storage data is mismatched")
|
||||||
}
|
}
|
||||||
if !compareList(dec.accountList, obj.accountList) {
|
|
||||||
t.Fatal("account list is mismatched")
|
|
||||||
}
|
|
||||||
if !compareStorageList(dec.storageList, obj.storageList) {
|
|
||||||
t.Fatal("storage list is mismatched")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func checkHistory(t *testing.T, db ethdb.KeyValueReader, freezer ethdb.AncientReader, id uint64, root common.Hash, exist bool) {
|
func checkHistory(t *testing.T, db ethdb.KeyValueReader, freezer ethdb.AncientReader, id uint64, root common.Hash, exist bool) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue