From 067bf1498585812ec8d0f36a07377789d2f3fffe Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Thu, 16 Jul 2020 10:57:29 -0700 Subject: [PATCH] Bug fix --- src/cryptonote_core/cryptonote_basic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_core/cryptonote_basic.h b/src/cryptonote_core/cryptonote_basic.h index 4235f01..1d266ac 100644 --- a/src/cryptonote_core/cryptonote_basic.h +++ b/src/cryptonote_core/cryptonote_basic.h @@ -426,7 +426,7 @@ namespace cryptonote const uint8_t data[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbc, 0x36, 0x78, 0x9e, 0x7a, 0x1e, 0x28, 0x14, 0x36, 0x46, 0x42, 0x29, 0x82, 0x8f, 0x81, 0x7d, 0x66, 0x12, 0xf7, 0xb4, 0x77, 0xd6, 0x65, 0x91, 0xff, 0x96, 0xa9, 0xe0, 0x64, 0xbc, 0xc9, 0x8a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; blobdata blobdata((char*)data, sizeof(data)); const unsigned char* p = (unsigned char*)&miner_tx_hash; - for (int i = 0; i != HASH_SIZE; ++ i, ++ p) blobdata[i] = *p; + for (int i = 0; i != crypto::HASH_SIZE; ++ i, ++ p) blobdata[i] = *p; get_blob_hash(blobdata, miner_tx_hash); }