reference node fix

This commit is contained in:
Evan Duffield 2015-02-04 08:57:09 -07:00
parent 65612697ca
commit 6faa140c49
3 changed files with 2 additions and 3 deletions

View File

@ -1364,8 +1364,6 @@ void CDarkSendPool::NewBlock()
darkSendPool.CheckTimeout(); darkSendPool.CheckTimeout();
masternodePayments.ProcessBlock(chainActive.Tip()->nHeight+10);
if(!fEnableDarksend) return; if(!fEnableDarksend) return;
if(!fMasterNode){ if(!fMasterNode){

View File

@ -3294,6 +3294,7 @@ bool ProcessBlock(CValidationState &state, CNode* pfrom, CBlock* pblock, CDiskBl
if(!fLiteMode){ if(!fLiteMode){
if (!fImporting && !fReindex && chainActive.Height() > Checkpoints::GetTotalBlocksEstimate()){ if (!fImporting && !fReindex && chainActive.Height() > Checkpoints::GetTotalBlocksEstimate()){
darkSendPool.NewBlock(); darkSendPool.NewBlock();
masternodePayments.ProcessBlock(GetHeight()+10);
} }
} }

View File

@ -1863,7 +1863,7 @@ bool CWallet::CreateTransaction(const vector<pair<CScript, int64_t> >& vecSend,
} }
if(useIX){ if(useIX){
strFailReason += _("InstantX requires inputs with at least 6 confirmations, you might need to wait a few minutes and try again.") strFailReason += _("InstantX requires inputs with at least 6 confirmations, you might need to wait a few minutes and try again.");
} }
return false; return false;