Skip to content

Commit

Permalink
[misc] Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
giaki3003 committed Aug 19, 2020
1 parent 7c4c981 commit f658a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.cpp
Expand Up @@ -1914,7 +1914,7 @@ bool AppInitMain()
std::string strInfinityNodePrivKey = gArgs.GetArg("-infinitynodeprivkey", "");
if(!strInfinityNodePrivKey.empty()) {
if(!CMessageSigner::GetKeysFromSecret(strInfinityNodePrivKey, infinitynodePeer.keyInfinitynode, infinitynodePeer.pubKeyInfinitynode))
return InitError(_("Invalid masternodeprivkey. Please see documentation."));
return InitError(_("Invalid infinitynodeprivkey. Please see documentation."));
CTxDestination dest = GetDestinationForKey(infinitynodePeer.pubKeyInfinitynode, OutputType::LEGACY);
LogPrintf("PubKeyInfinitynode: %s, address: %s\n", infinitynodePeer.pubKeyInfinitynode.GetID().ToString(), EncodeDestination(dest));
infinitynodePeer.ManageState(connman);
Expand Down

0 comments on commit f658a4f

Please sign in to comment.