mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request 'difficulty non-void function warning' (#312) from wowario/wownero:diff into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/312
This commit is contained in:
commit
db89c585da
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue