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

Merge pull request #3291 from SChernykh/dev

Zephyr solo mining: fix for blocks with transactions
This commit is contained in:
xmrig
2023-06-24 20:22:53 +07:00
committed by GitHub

View File

@@ -315,6 +315,13 @@ bool xmrig::BlockTemplate::parse(bool hashes)
}
}
if (m_coin == Coin::ZEPHYR) {
uint64_t pricing_record_height, amount_burnt, amount_minted;
ar(pricing_record_height);
ar(amount_burnt);
ar(amount_minted);
}
setOffset(MINER_TX_PREFIX_END_OFFSET, ar.index());
// Prefix end