Corrected both Cancels, 'B' and TokenTransfer
This commit is contained in:
@@ -407,20 +407,6 @@ bool CScript::MayAcceptCryptoCondition() const
|
||||
cc_free(cond);
|
||||
return out;
|
||||
}
|
||||
struct CC *CScript::GetCryptoCondition() const
|
||||
{
|
||||
// Get the type mask of the condition
|
||||
const_iterator pc = this->begin();
|
||||
vector<unsigned char> data;
|
||||
opcodetype opcode;
|
||||
if (!this->GetOp(pc, opcode, data)) return NULL;
|
||||
if (!(opcode > OP_0 && opcode < OP_PUSHDATA1)) return NULL;
|
||||
struct CC *cond = cc_readConditionBinary(data.data(), data.size());
|
||||
if (!cond) return NULL;
|
||||
//bool out = IsSupportedCryptoCondition(cond);
|
||||
//cc_free(cond);
|
||||
return cond;
|
||||
}
|
||||
|
||||
bool CScript::IsCoinImport() const
|
||||
{
|
||||
|
||||
@@ -601,8 +601,6 @@ public:
|
||||
bool IsPayToCryptoCondition() const;
|
||||
bool IsCoinImport() const;
|
||||
bool MayAcceptCryptoCondition() const;
|
||||
struct CC *GetCryptoCondition() const;
|
||||
|
||||
|
||||
/** Called by IsStandardTx and P2SH/BIP62 VerifyScript (which makes it consensus-critical). */
|
||||
bool IsPushOnly() const;
|
||||
|
||||
Reference in New Issue
Block a user