diff --git a/src/masternode.cpp b/src/masternode.cpp index db07b9e2c..d25eeea07 100644 --- a/src/masternode.cpp +++ b/src/masternode.cpp @@ -216,7 +216,7 @@ void CMasternode::Check(bool forceCheck) if (!unitTest) { CValidationState state; CMutableTransaction tx = CMutableTransaction(); - CTxOut vout = CTxOut(999.99 * COIN, obfuScationPool.collateralPubKey); + CTxOut vout = CTxOut((MASTERNODE_COLLATERAL_AMOUNT - 0.01) * COIN, obfuScationPool.collateralPubKey); tx.vin.push_back(vin); tx.vout.push_back(vout); @@ -586,7 +586,7 @@ bool CMasternodeBroadcast::CheckInputsAndAdd(int& nDoS) CValidationState state; CMutableTransaction tx = CMutableTransaction(); - CTxOut vout = CTxOut(999.99 * COIN, obfuScationPool.collateralPubKey); + CTxOut vout = CTxOut((MASTERNODE_COLLATERAL_AMOUNT - 0.01) * COIN, obfuScationPool.collateralPubKey); tx.vin.push_back(vin); tx.vout.push_back(vout); diff --git a/src/masternodeman.cpp b/src/masternodeman.cpp index ba73aa5bf..75f59ce97 100644 --- a/src/masternodeman.cpp +++ b/src/masternodeman.cpp @@ -986,7 +986,7 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData CValidationState state; CMutableTransaction tx = CMutableTransaction(); - CTxOut vout = CTxOut(999.99 * COIN, obfuScationPool.collateralPubKey); + CTxOut vout = CTxOut((MASTERNODE_COLLATERAL_AMOUNT - 0.01) * COIN, obfuScationPool.collateralPubKey); tx.vin.push_back(vin); tx.vout.push_back(vout);