File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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));
Original file line number Diff line number Diff 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 &&
You can’t perform that action at this time.
0 commit comments