This commit is contained in:
jl777
2016-10-03 10:20:27 -03:00
parent c939721cee
commit 7bfc207ada
4 changed files with 18 additions and 9 deletions

View File

@@ -53,7 +53,7 @@ void WaitForShutdown(boost::thread_group* threadGroup)
//
// Start
//
extern int32_t IS_KOMODO_NOTARY;
extern int32_t IS_KOMODO_NOTARY,USE_EXTERNAL_PUBKEY;
extern std::string NOTARY_PUBKEY;
bool AppInit(int argc, char* argv[])
@@ -111,8 +111,10 @@ bool AppInit(int argc, char* argv[])
}
IS_KOMODO_NOTARY = GetBoolArg("-notary", false);
NOTARY_PUBKEY = GetArg("-pubkey", "");
if ( strlen(NOTARY_PUBKEY.c_str()) == 66 )
USE_EXTERNAL_PUBKEY = 1;
fprintf(stderr,"IS_KOMODO_NOTARY %d %s\n",IS_KOMODO_NOTARY,NOTARY_PUBKEY.c_str());
// Command-line RPC
bool fCommandLine = false;
for (int i = 1; i < argc; i++)