Fixed parsing of TX_EXTRA_MERGE_MINING_TAG

This commit is contained in:
SChernykh 2023-03-24 22:42:26 +01:00
parent 51728b2d55
commit bc5c1f7e65

View file

@ -269,7 +269,7 @@ bool xmrig::BlockTemplate::parse(bool hashes)
case 0x03: // TX_EXTRA_MERGE_MINING_TAG
ar_extra(size);
setOffset(TX_EXTRA_MERGE_MINING_TAG_OFFSET, offset(TX_EXTRA_OFFSET) + ar_extra.index());
ar_extra(m_txMergeMiningTag, size + kKeySize);
ar_extra(m_txMergeMiningTag, size);
break;
default: