Filter addassetinputs with signable addresses

This commit is contained in:
jl777
2018-09-11 22:14:18 -11:00
parent ae5efde754
commit 019206ff84
3 changed files with 7 additions and 2 deletions

View File

@@ -339,6 +339,7 @@ bool ProcessCC(struct CCcontract_info *cp,Eval* eval, std::vector<uint8_t> param
//if ( txid == cp->prevtxid )
// return(true);
//fprintf(stderr,"process CC %02x\n",cp->evalcode);
cp->unspendableaddr2[0] = 0;
if ( paramsNull.size() != 0 ) // Don't expect params
return eval->Invalid("Cannot have params");
else if ( ctx.vout.size() == 0 )