From db894859579cb60525df7b34eb057a47f7f89fe5 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Wed, 3 Apr 2019 22:17:09 -0700 Subject: [PATCH] Avoid changing Loki blocks --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cc b/src/main.cc index 5a688cd0..662d5c93 100644 --- a/src/main.cc +++ b/src/main.cc @@ -91,7 +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 + extra_nonce_size + 1); + //extra.resize(pos + 1 + extra_nonce_size + 1); return true; }