mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-08 21:28:52 +00:00
declare version
This commit is contained in:
parent
f6533856df
commit
2a6d817ea1
@ -1035,6 +1035,7 @@ size_t Blockchain::recalculate_difficulties(boost::optional<uint64_t> start_heig
|
||||
std::vector<difficulty_type> new_cumulative_difficulties;
|
||||
for (uint64_t height = start_height; height <= top_height; ++height)
|
||||
{
|
||||
uint8_t version = get_current_hard_fork_version();
|
||||
uint64_t T = DIFFICULTY_TARGET_V2;
|
||||
uint64_t N = DIFFICULTY_WINDOW_V3;
|
||||
uint64_t HEIGHT = m_db->height();
|
||||
|
Loading…
Reference in New Issue
Block a user