aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2015-11-16 16:54:11 -0800
committerGregory Maxwell <greg@xiph.org>2015-11-16 17:00:11 -0800
commit87ee0e2dbc1201a5104d524ace32c0134ead019f (patch)
tree963d972d2e698da6860862612a5dbebd7f7a23d9 /src/init.cpp
parent972bf9c529877e6e90691de5e0189492f2f3eb89 (diff)
parent6bc9e4056b2bf4ff6549ed4d6d9ccf2fa822fef4 (diff)
Merge pull request #6986
6bc9e40 Chainparams: Explicit CChainParams arg for miner: (Jorge Timón) 598e494 Chainparams: Explicit CChainParams arg for main (pre miner): (Jorge Timón)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index d768c4837e..cd84e7747a 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1603,7 +1603,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
scheduler.scheduleEvery(f, nPowTargetSpacing);
// Generate coins in the background
- GenerateBitcoins(GetBoolArg("-gen", false), GetArg("-genproclimit", DEFAULT_GENERATE_THREADS), Params());
+ GenerateBitcoins(GetBoolArg("-gen", false), GetArg("-genproclimit", DEFAULT_GENERATE_THREADS), chainparams);
// ********************************************************* Step 12: finished