Test
This commit is contained in:
@@ -792,7 +792,7 @@ std::string FillBuyOffer(uint64_t txfee,uint256 assetid,uint256 bidtxid,uint256
|
||||
{
|
||||
mtx.vout.push_back(MakeAssetsVout(filltx.vout[fillvout].nValue - fillamount,mypk));
|
||||
}
|
||||
fprintf(stderr,"remaining %llu -> origpubkey\n");
|
||||
fprintf(stderr,"remaining %llu -> origpubkey\n",(long long)remaining_required);
|
||||
return(FinalizeCCTx(EVAL_ASSETS,mtx,mypk,txfee,EncodeOpRet('B',assetid,zeroid,remaining_required,origpubkey)));
|
||||
} else fprintf(stderr,"filltx wasnt for assetid\n");
|
||||
}
|
||||
@@ -907,6 +907,7 @@ bool AssetValidate(Eval* eval,CTransaction &tx,int32_t numvouts,uint8_t funcid,u
|
||||
return eval->Invalid("illegal asset vin0");
|
||||
if ( funcid != 'c' && assetid == zero )
|
||||
return eval->Invalid("illegal assetid");
|
||||
fprintf(stderr,"switch\n");
|
||||
switch ( funcid )
|
||||
{
|
||||
case 'c': // create wont be called to be verified as it has no CC inputs
|
||||
|
||||
Reference in New Issue
Block a user