aboutsummaryrefslogtreecommitdiff
path: root/src/test/blockchain_tests.cpp
diff options
context:
space:
mode:
authorJoão Barbosa <[email protected]>2018-01-11 13:11:10 +0000
committerJoão Barbosa <[email protected]>2018-09-09 18:02:22 +0100
commit343b98cbcd52854ffffaca7ada72f5522117ac7f (patch)
treeadb41e554ff0f0ded3a2fb9742454d39a4a5e8b3 /src/test/blockchain_tests.cpp
parentrpc: Fix SoftForkMajorityDesc and SoftForkDesc signatures (diff)
downloaddiscoin-343b98cbcd52854ffffaca7ada72f5522117ac7f.tar.xz
discoin-343b98cbcd52854ffffaca7ada72f5522117ac7f.zip
rpc: Specify chain tip instead of chain in GetDifficulty
Diffstat (limited to 'src/test/blockchain_tests.cpp')
-rw-r--r--src/test/blockchain_tests.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/blockchain_tests.cpp b/src/test/blockchain_tests.cpp
index 7d8ae46fb..b61152985 100644
--- a/src/test/blockchain_tests.cpp
+++ b/src/test/blockchain_tests.cpp
@@ -68,11 +68,4 @@ BOOST_AUTO_TEST_CASE(get_difficulty_for_very_high_target)
TestDifficulty(0x12345678, 5913134931067755359633408.0);
}
-// Verify that difficulty is 1.0 for an empty chain.
-BOOST_AUTO_TEST_CASE(get_difficulty_for_null_tip)
-{
- double difficulty = GetDifficulty(nullptr);
- RejectDifficultyMismatch(difficulty, 1.0);
-}
-
BOOST_AUTO_TEST_SUITE_END()