mirror of
https://github.com/xmrig/xmrig.git
synced 2024-10-30 13:07:46 +00:00
Fix Wownero hardfork version
This commit is contained in:
parent
e6d833c227
commit
e3fc78a66c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue