test
This commit is contained in:
@@ -106,6 +106,10 @@ bool AppInit(int argc, char* argv[])
|
||||
fprintf(stderr, "Error: Invalid combination of -regtest and -testnet.\n");
|
||||
return false;
|
||||
}
|
||||
extern int32_t IS_KOMODO_NOTARY;
|
||||
extern std::string NOTARY_PUBKEY;
|
||||
IS_KOMODO_NOTARY = GetBoolArg("-notary", false);
|
||||
NOTARY_PUBKEY = GetArg("-pubkey", "");
|
||||
|
||||
// Command-line RPC
|
||||
bool fCommandLine = false;
|
||||
|
||||
@@ -1479,11 +1479,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
// Generate coins in the background
|
||||
if (pwalletMain)
|
||||
GenerateBitcoins(GetBoolArg("-gen", false), pwalletMain, GetArg("-genproclimit", 1));
|
||||
extern int32_t IS_KOMODO_NOTARY;
|
||||
extern std::string NOTARY_PUBKEY;
|
||||
IS_KOMODO_NOTARY = GetBoolArg("-notary", false);
|
||||
NOTARY_PUBKEY = GetArg("-pubkey", "");
|
||||
|
||||
#endif
|
||||
|
||||
// ********************************************************* Step 11: finished
|
||||
|
||||
Reference in New Issue
Block a user