diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2015-04-17 14:19:52 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2015-11-11 13:21:17 +0100 |
commit | 6bc9e4056b2bf4ff6549ed4d6d9ccf2fa822fef4 (patch) | |
tree | 560af579e8fada4d2804ce0255071a21d9bbb5d0 /src/test/test_bitcoin.cpp | |
parent | 598e4945872349ead03ff0cddc87c14b925157ec (diff) |
Chainparams: Explicit CChainParams arg for miner:
-BitcoinMiner
-CreateNewBlock
-GenerateBitcoins
-ProcessBlockFound
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r-- | src/test/test_bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 898dbded41..319e63ba55 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -115,7 +115,7 @@ CBlock TestChain100Setup::CreateAndProcessBlock(const std::vector<CMutableTransaction>& txns, const CScript& scriptPubKey) { const CChainParams& chainparams = Params(); - CBlockTemplate *pblocktemplate = CreateNewBlock(scriptPubKey); + CBlockTemplate *pblocktemplate = CreateNewBlock(chainparams, scriptPubKey); CBlock& block = pblocktemplate->block; // Replace mempool-selected txns with just coinbase plus passed-in txns: |