diff --git a/core/blockchain_test.go b/core/blockchain_test.go index 4624ac50b5..801aa56121 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -409,17 +409,6 @@ func testReorg(t *testing.T, first, second []int64, td int64, full bool) { } } } - // Make sure the chain total difficulty is the correct one - want := new(big.Int).Add(blockchain.genesisBlock.Difficulty(), big.NewInt(td)) - if full { - if have := blockchain.GetTdByHash(blockchain.CurrentBlock().Hash()); have.Cmp(want) != 0 { - t.Errorf("total difficulty mismatch: have %v, want %v", have, want) - } - } else { - if have := blockchain.GetTdByHash(blockchain.CurrentHeader().Hash()); have.Cmp(want) != 0 { - t.Errorf("total difficulty mismatch: have %v, want %v", have, want) - } - } } // Tests that the insertion functions detect banned hashes.