mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
Update sync_test.go
This commit is contained in:
parent
e049615dc6
commit
54b375a058
1 changed files with 2 additions and 2 deletions
|
|
@ -735,9 +735,9 @@ func testIncompleteStateSync(t *testing.T, scheme string) {
|
||||||
for _, node := range addedCodes {
|
for _, node := range addedCodes {
|
||||||
val := rawdb.ReadCode(dstDb, node)
|
val := rawdb.ReadCode(dstDb, node)
|
||||||
if len(val) == 0 {
|
if len(val) == 0 {
|
||||||
fmt.Println("node code")
|
t.Logf("no code: %v", node)
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("has code")
|
t.Logf("has code: %v", node)
|
||||||
}
|
}
|
||||||
rawdb.DeleteCode(dstDb, node)
|
rawdb.DeleteCode(dstDb, node)
|
||||||
if err := checkStateConsistency(dstDb, ndb.Scheme(), srcRoot); err == nil {
|
if err := checkStateConsistency(dstDb, ndb.Scheme(), srcRoot); err == nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue