Skip to content

Commit 897bc8e

Browse files
author
limxdev
committed
Small fixes
1 parent 2247c06 commit 897bc8e

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

src/masternode.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ class CMasternodePing
5353
READWRITE(blockHash);
5454
READWRITE(sigTime);
5555
READWRITE(vchSig);
56-
//if(ser_action.ForRead() && (s.size() == 0))
57-
//{
58-
// fSentinelIsCurrent = false;
59-
// nSentinelVersion = DEFAULT_SENTINEL_VERSION;
60-
// return;
61-
//}
56+
if(ser_action.ForRead() && (s.size() == 0))
57+
{
58+
fSentinelIsCurrent = false;
59+
nSentinelVersion = DEFAULT_SENTINEL_VERSION;
60+
return;
61+
}
6262
//READWRITE(fSentinelIsCurrent);
6363
//READWRITE(nSentinelVersion);
6464
}

src/rpc/governance.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,6 @@ UniValue getgovernanceinfo(const JSONRPCRequest& request)
969969

970970
UniValue obj(UniValue::VOBJ);
971971
obj.push_back(Pair("governanceminquorum", Params().GetConsensus().nGovernanceMinQuorum));
972-
obj.push_back(Pair("masternodewatchdogmaxseconds", MASTERNODE_WATCHDOG_MAX_SECONDS));
973972
obj.push_back(Pair("proposalfee", ValueFromAmount(GOVERNANCE_PROPOSAL_FEE_TX)));
974973
obj.push_back(Pair("superblockcycle", Params().GetConsensus().nSuperblockCycle));
975974
obj.push_back(Pair("lastsuperblock", nLastSuperblock));

src/rpc/masternode.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,6 @@ UniValue masternodelist(const JSONRPCRequest& request)
581581
EncodeDestination(mn.pubKeyCollateralAddress.GetID()) << " " <<
582582
(int64_t)mn.lastPing.sigTime << " " << std::setw(8) <<
583583
(int64_t)(mn.lastPing.sigTime - mn.sigTime) << " " <<
584-
SafeIntVersionToString(mn.lastPing.nSentinelVersion) << " " <<
585584
mn.addr.ToString();
586585
std::string strInfo = streamInfo.str();
587586
if (strFilter !="" && strInfo.find(strFilter) == std::string::npos &&

0 commit comments

Comments
 (0)