Skip to content

Commit 702a9ec

Browse files
Additional fixes for minor issues
1 parent c134cdc commit 702a9ec

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

src/main.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,14 +1878,10 @@ bool CheckInputs(const CTransaction& tx, CValidationState& state, const CCoinsVi
18781878
}
18791879

18801880
if (!tx.IsCoinStake()) {
1881-
if (nSpendHeight <= 439999) {
1882-
return true;
1883-
} else {
18841881
if (nValueIn < tx.GetValueOut())
18851882
return state.DoS(100, error("CheckInputs() : %s value in (%s) < value out (%s)",
18861883
tx.GetHash().ToString(), FormatMoney(nValueIn), FormatMoney(tx.GetValueOut())),
18871884
REJECT_INVALID, "bad-txns-in-belowout");
1888-
}
18891885
// Tally transaction fees
18901886
CAmount nTxFee = nValueIn - tx.GetValueOut();
18911887
if (nTxFee < 0)
@@ -5471,7 +5467,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
54715467
int ActiveProtocol()
54725468
{
54735469

5474-
if (chainActive.Tip()->nHeight >= 429500 && chainActive.Tip()->nHeight < 439999) {
5470+
if (chainActive.Tip()->nHeight >= 429500 && chainActive.Tip()->nHeight < 440000) {
54755471
return 70717;
54765472
} else if (chainActive.Tip()->nHeight >= 440000) {
54775473
return 70718;

src/masternode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ void CMasternode::Check(bool forceCheck)
212212
if (!unitTest) {
213213
CValidationState state;
214214
CMutableTransaction tx = CMutableTransaction();
215-
CTxOut vout = CTxOut(4999.99 * COIN, DarKsendPool.collateralPubKey);
215+
CTxOut vout = CTxOut(999.99 * COIN, DarKsendPool.collateralPubKey);
216216
tx.vin.push_back(vin);
217217
tx.vout.push_back(vout);
218218

@@ -573,7 +573,7 @@ bool CMasternodeBroadcast::CheckInputsAndAdd(int& nDoS)
573573

574574
CValidationState state;
575575
CMutableTransaction tx = CMutableTransaction();
576-
CTxOut vout = CTxOut(4999.99 * COIN, DarKsendPool.collateralPubKey);
576+
CTxOut vout = CTxOut(999.99 * COIN, DarKsendPool.collateralPubKey);
577577
tx.vin.push_back(vin);
578578
tx.vout.push_back(vout);
579579

src/masternodeman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData
961961

962962
CValidationState state;
963963
CMutableTransaction tx = CMutableTransaction();
964-
CTxOut vout = CTxOut(4999.99 * COIN, DarKsendPool.collateralPubKey);
964+
CTxOut vout = CTxOut(999.99 * COIN, DarKsendPool.collateralPubKey);
965965
tx.vin.push_back(vin);
966966
tx.vout.push_back(vout);
967967

0 commit comments

Comments
 (0)