diff --git a/src/core.h b/src/core.h index 9aaedfeaf..ed3007b14 100644 --- a/src/core.h +++ b/src/core.h @@ -473,6 +473,7 @@ public: block.nTime = nTime; block.nBits = nBits; block.nNonce = nNonce; + block.auxpow = auxpow; return block; } diff --git a/src/main.h b/src/main.h index a26e261e8..cd512846e 100644 --- a/src/main.h +++ b/src/main.h @@ -962,6 +962,7 @@ public: block.nTime = nTime; block.nBits = nBits; block.nNonce = nNonce; + // AuxPoW is not part of the hash return block.GetHash(); }