Merge pull request #3230 from SChernykh/dev

Fixed parsing of TX_EXTRA_MERGE_MINING_TAG
This commit is contained in:
xmrig 2023-03-25 12:39:04 +07:00 committed by GitHub
commit 9508332258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: