fix non-void function

Signed-off-by: wowario <wowario@protonmail.com>
This commit is contained in:
wowario 2020-07-30 18:01:45 +03:00
parent bda76b6be9
commit 97dfd5ae74
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

View File

@ -1358,6 +1358,7 @@ difficulty_type Blockchain::get_next_difficulty_for_alternative_chain(const std:
if (m_nettype == TESTNET) { if (m_nettype == TESTNET) {
return next_difficulty_test(timestamps, cumulative_difficulties, T, N, HEIGHT); return next_difficulty_test(timestamps, cumulative_difficulties, T, N, HEIGHT);
} }
return next_difficulty(timestamps, cumulative_difficulties, target);
} }
//------------------------------------------------------------------ //------------------------------------------------------------------
// This function does a sanity check on basic things that all miner // This function does a sanity check on basic things that all miner