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(prev_id);
ar(nonce); ar(nonce);
// Wownero block template has miner signature starting from version 19 // Wownero block template has miner signature starting from version 18
has_miner_signature = (coin == Coin::WOWNERO) && (major_version >= 19); has_miner_signature = (coin == Coin::WOWNERO) && (major_version >= 18);
if (has_miner_signature) { if (has_miner_signature) {
ar(miner_signature); ar(miner_signature);
} }