From 97dfd5ae74271c8aaa8863fd4741bfe603b66040 Mon Sep 17 00:00:00 2001 From: wowario Date: Thu, 30 Jul 2020 18:01:45 +0300 Subject: [PATCH] fix non-void function Signed-off-by: wowario --- src/cryptonote_core/blockchain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 023d4a3fc..4e3e33527 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -1358,6 +1358,7 @@ difficulty_type Blockchain::get_next_difficulty_for_alternative_chain(const std: if (m_nettype == TESTNET) { 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