aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2017-11-19 22:09:03 +0000
committerRoss Nicoll <[email protected]>2018-09-19 19:23:29 +0100
commitfcde8643344a3a7baadf31d97dd3e1b47aa8cff9 (patch)
treee3f8540c7060b29b848a9964c6b6f08fe3b64b5b /src/test/test_bitcoin.cpp
parentMerge AuxPoW support from Namecore (diff)
downloaddiscoin-fcde8643344a3a7baadf31d97dd3e1b47aa8cff9.tar.xz
discoin-fcde8643344a3a7baadf31d97dd3e1b47aa8cff9.zip
Sync mining code from Namecore to resolve unit test failures (#1385)
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index e9af8f1c6..9a499357f 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -116,7 +116,7 @@ CBlock
TestChain240Setup::CreateAndProcessBlock(const std::vector<CMutableTransaction>& txns, const CScript& scriptPubKey)
{
const CChainParams& chainparams = Params();
- std::unique_ptr<CBlockTemplate> pblocktemplate = BlockAssembler(chainparams).CreateNewBlock(scriptPubKey);
+ std::unique_ptr<CBlockTemplate> pblocktemplate = BlockAssembler(chainparams).CreateNewBlock(scriptPubKey, true);
CBlock& block = pblocktemplate->block;
// Replace mempool-selected txns with just coinbase plus passed-in txns: