From bc5c1f7e6533b57dcd4e41bcf2f9d3b1e5e5b15a Mon Sep 17 00:00:00 2001 From: SChernykh Date: Fri, 24 Mar 2023 22:42:26 +0100 Subject: [PATCH] Fixed parsing of TX_EXTRA_MERGE_MINING_TAG --- src/base/tools/cryptonote/BlockTemplate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/tools/cryptonote/BlockTemplate.cpp b/src/base/tools/cryptonote/BlockTemplate.cpp index b4fe4bcf4..6ce49679e 100644 --- a/src/base/tools/cryptonote/BlockTemplate.cpp +++ b/src/base/tools/cryptonote/BlockTemplate.cpp @@ -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: