We do not support coin imports

This commit is contained in:
Duke
2024-09-22 12:16:21 -04:00
parent f6b42fe3a3
commit b6bcacad20
2 changed files with 3 additions and 9 deletions

View File

@@ -382,12 +382,6 @@ bool CScript::MayAcceptCryptoCondition() const
bool CScript::IsCoinImport() const
{
const_iterator pc = this->begin();
vector<unsigned char> data;
opcodetype opcode;
if (this->GetOp(pc, opcode, data))
if (opcode > OP_0 && opcode <= OP_PUSHDATA4)
return data.begin()[0] == EVAL_IMPORTCOIN;
return false;
}