removing useless tip

This commit is contained in:
janko33bd
2018-01-10 21:06:02 +01:00
parent 48feed03ef
commit 2b4b729c34
2 changed files with 4 additions and 3 deletions

View File

@@ -429,6 +429,10 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, un
case OP_COUNT_ACKS:
{
if (SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS) {
return set_error(serror, SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS);
}
// (secondary_chain_id ack_period liveness_period -- )
if (stack.size() < 3)
return set_error(serror, SCRIPT_ERR_INVALID_STACK_OPERATION);