From 47b898375bb084ac05ffc3b9c48adf3d7e016dbf Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Tue, 2 Apr 2019 23:49:55 -0700 Subject: [PATCH] Remove extra stuff --- src/main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cc b/src/main.cc index 64aabf9..abcf16d 100644 --- a/src/main.cc +++ b/src/main.cc @@ -91,6 +91,7 @@ static bool fillExtraMM(cryptonote::block& block1, const cryptonote::block& bloc extra[pos + 1] = new_extra_nonce_size; std::copy(extra_nonce_replace.begin(), extra_nonce_replace.end(), extra.begin() + pos + 1 + new_extra_nonce_size + 1); + extra.resize(pos + 1 + new_extra_nonce_size + 1 + MM_NONCE_SIZE); return true; }