1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-06 15:42:38 -05:00

Fix Wownero hardfork version

This commit is contained in:
SChernykh
2021-06-18 13:52:24 +02:00
parent e6d833c227
commit e3fc78a66c

View File

@@ -41,8 +41,8 @@ bool BlockTemplate::Init(const String& blockTemplate, Coin coin)
ar(prev_id);
ar(nonce);
// Wownero block template has miner signature starting from version 19
has_miner_signature = (coin == Coin::WOWNERO) && (major_version >= 19);
// Wownero block template has miner signature starting from version 18
has_miner_signature = (coin == Coin::WOWNERO) && (major_version >= 18);
if (has_miner_signature) {
ar(miner_signature);
}