Commit 96c754b8 authored by Ashot's avatar Ashot

Merge branch 'allow-is-for-all-transactions' into 'Current-dev'

Allow instant send for all transactions

See merge request crown/crown-core!135
parents 9ffdf633 f56012fd
......@@ -50,15 +50,6 @@ void InstantSend::ProcessMessage(CNode* pfrom, const std::string& strCommand, CD
return;
}
BOOST_FOREACH(const CTxOut o, tx.vout){
// IX supports normal scripts and unspendable scripts (used in DS collateral and Budget collateral).
// TODO: Look into other script types that are normal and can be included
if(!o.scriptPubKey.IsNormalPaymentScript() && !o.scriptPubKey.IsUnspendable()){
IXLogPrintf("ProcessMessageInstantX::ix - Invalid Script %s\n", tx.ToString().c_str());
return;
}
}
int nBlockHeight = CreateNewLock(tx);
bool fMissingInputs = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment