Skip to content

Commit

Permalink
Merge pull request #12 from uhlik-exosis-development/master
Browse files Browse the repository at this point in the history
masternode and url fixes
  • Loading branch information
exosiscrypto committed May 9, 2019
2 parents 326db47 + fdc9092 commit 3105602
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ void SetupServerArgs()
std::string LicenseInfo()
{
const std::string URL_SOURCE_CODE = "<https://github.com/exosis/exosis>";
const std::string URL_WEBSITE = "<https://fixedtradecoin.org>";
const std::string URL_WEBSITE = "<https://exosis.org>";

return CopyrightHolders(strprintf(_("Copyright (C) %i-%i"), 2009, COPYRIGHT_YEAR) + " ") + "\n" +
"\n" +
Expand Down
15 changes: 12 additions & 3 deletions src/masternodeman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ bool CMasternodeMan::PoSeBan(const COutPoint &outpoint)

void CMasternodeMan::Check()
{
LOCK(cs);
// FXTC BEGIN
//LOCK(cs);
LOCK2(cs_main, cs);
// FXTC END

LogPrint(BCLog::MASTERNODE, "CMasternodeMan::Check -- nLastWatchdogVoteTime=%d, IsWatchdogActive()=%d\n", nLastWatchdogVoteTime, IsWatchdogActive());

Expand Down Expand Up @@ -1452,7 +1455,10 @@ bool CMasternodeMan::CheckMnbAndUpdateMasternodeList(CNode* pfrom, CMasternodeBr

void CMasternodeMan::UpdateLastPaid(const CBlockIndex* pindex)
{
LOCK(cs);
// FXTC BEGIN
//LOCK(cs);
LOCK2(cs_main, cs);
// FXTC END

if(fLiteMode || !masternodeSync.IsWinnersListSynced() || mapMasternodes.empty()) return;

Expand Down Expand Up @@ -1510,7 +1516,10 @@ void CMasternodeMan::RemoveGovernanceObject(uint256 nGovernanceObjectHash)

void CMasternodeMan::CheckMasternode(const CPubKey& pubKeyMasternode, bool fForce)
{
LOCK(cs);
// FXTC BEGIN
//LOCK(cs)
LOCK2(cs_main, cs);
// FXTC END
for (auto& mnpair : mapMasternodes) {
if (mnpair.second.pubKeyMasternode == pubKeyMasternode) {
mnpair.second.Check(fForce);
Expand Down

0 comments on commit 3105602

Please sign in to comment.