Merge pull request #597 from rnicoll/1.8-dev-spv

Fix assertion crash when using SPV clients
This commit is contained in:
langerhans 2014-08-08 22:26:47 +02:00
commit 435c75b523
2 changed files with 2 additions and 0 deletions

View file

@ -473,6 +473,7 @@ public:
block.nTime = nTime;
block.nBits = nBits;
block.nNonce = nNonce;
block.auxpow = auxpow;
return block;
}

View file

@ -962,6 +962,7 @@ public:
block.nTime = nTime;
block.nBits = nBits;
block.nNonce = nNonce;
// AuxPoW is not part of the hash
return block.GetHash();
}