diff --git a/src/darksend.cpp b/src/darksend.cpp index b4a8b3d72f..ca58b04196 100644 --- a/src/darksend.cpp +++ b/src/darksend.cpp @@ -396,7 +396,7 @@ void CDarksendPool::ProcessMessageDarksend(CNode* pfrom, std::string& strCommand return; } - if(!AcceptableInputs(mempool, state, tx, false, NULL)) { + if(!AcceptableInputs(mempool, state, CTransaction(tx), false, NULL)) { LogPrintf("dsi -- transaction not valid! \n"); error = _("Transaction not valid."); pfrom->PushMessage("dssu", sessionID, GetState(), GetEntriesCount(), MASTERNODE_REJECTED, error); @@ -1377,7 +1377,7 @@ void CDarksendPool::SendDarksendDenominate(std::vector& vin, std::vector< LogPrintf("Submitting tx %s\n", tx.ToString().c_str()); - if(!AcceptableInputs(mempool, state, tx, false, NULL)){ + if(!AcceptableInputs(mempool, state, CTransaction(tx), false, NULL)){ LogPrintf("dsi -- transaction not valid! %s \n", tx.ToString().c_str()); return; } diff --git a/src/masternode.cpp b/src/masternode.cpp index 39520105d8..73d3b03289 100644 --- a/src/masternode.cpp +++ b/src/masternode.cpp @@ -265,7 +265,7 @@ void CMasternode::Check() tx.vin.push_back(vin); tx.vout.push_back(vout); - if(!AcceptableInputs(mempool, state, tx, false, NULL)){ + if(!AcceptableInputs(mempool, state, CTransaction(tx), false, NULL)){ activeState = MASTERNODE_VIN_SPENT; return; } diff --git a/src/masternodeman.cpp b/src/masternodeman.cpp index 978617a502..88af509e53 100644 --- a/src/masternodeman.cpp +++ b/src/masternodeman.cpp @@ -668,7 +668,7 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData CTxOut vout = CTxOut(999.99*COIN, darkSendPool.collateralPubKey); tx.vin.push_back(vin); tx.vout.push_back(vout); - if(AcceptableInputs(mempool, state, tx, false, NULL)){ + if(AcceptableInputs(mempool, state, CTransaction(tx), false, NULL)){ if(fDebug) LogPrintf("dsee - Accepted Masternode entry %i %i\n", count, current); if(GetInputAge(vin) < MASTERNODE_MIN_CONFIRMATIONS){