From 86ea73092f691da8801af5e6f958f8264c6690fe Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 3 Oct 2016 08:47:01 -0300 Subject: [PATCH] test --- src/bitcoind.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index 70472e542..3493d20a5 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -53,6 +53,9 @@ void WaitForShutdown(boost::thread_group* threadGroup) // // Start // +extern int32_t IS_KOMODO_NOTARY; +extern std::string NOTARY_PUBKEY; + bool AppInit(int argc, char* argv[]) { boost::thread_group threadGroup; @@ -106,10 +109,9 @@ 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", ""); + fprintf(stderr,"IS_KOMODO_NOTARY %d\n",IS_KOMODO_NOTARY); + //NOTARY_PUBKEY = GetArg("-pubkey", ""); // Command-line RPC bool fCommandLine = false;