format only: tabs -> spaces
This commit is contained in:
parent
00023e97db
commit
66d96acd19
@ -180,7 +180,7 @@ bool CActiveMasternode::Dseep(std::string& errorMessage) {
|
||||
|
||||
if(!darkSendSigner.SetKey(strMasterNodePrivKey, errorMessage, keyMasternode, pubKeyMasternode))
|
||||
{
|
||||
LogPrintf("Register::ManageStatus() - Error upon calling SetKey: %s\n", errorMessage.c_str());
|
||||
LogPrintf("CActiveMasternode::Dseep() - Error upon calling SetKey: %s\n", errorMessage.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -247,7 +247,7 @@ bool CActiveMasternode::Register(std::string strService, std::string strKeyMaste
|
||||
|
||||
if(!GetMasterNodeVin(vin, pubKeyCollateralAddress, keyCollateralAddress, txHash, strOutputIndex)) {
|
||||
errorMessage = "could not allocate vin";
|
||||
LogPrintf("Register::Register() - Error: %s\n", errorMessage.c_str());
|
||||
LogPrintf("CActiveMasternode::Register() - Error: %s\n", errorMessage.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -256,7 +256,7 @@ bool CActiveMasternode::Register(std::string strService, std::string strKeyMaste
|
||||
{
|
||||
if(!address.SetString(strDonationAddress))
|
||||
{
|
||||
LogPrintf("Register::Register - Invalid Donation Address\n");
|
||||
LogPrintf("CActiveMasternode::Register - Invalid Donation Address\n");
|
||||
return false;
|
||||
}
|
||||
donationAddress.SetDestination(address.Get());
|
||||
@ -264,13 +264,13 @@ bool CActiveMasternode::Register(std::string strService, std::string strKeyMaste
|
||||
try {
|
||||
donationPercentage = boost::lexical_cast<int>( strDonationPercentage );
|
||||
} catch( boost::bad_lexical_cast const& ) {
|
||||
LogPrintf("Register::Register - Invalid Donation Percentage (Couldn't cast)\n");
|
||||
LogPrintf("CActiveMasternode::Register - Invalid Donation Percentage (Couldn't cast)\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(donationPercentage < 0 || donationPercentage > 100)
|
||||
{
|
||||
LogPrintf("Register::Register - Donation Percentage Out Of Range\n");
|
||||
LogPrintf("CActiveMasternode::Register - Donation Percentage Out Of Range\n");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user