test
This commit is contained in:
@@ -325,10 +325,9 @@ bool ProcessAssets(Eval* eval, std::vector<uint8_t> paramsNull,const CTransactio
|
|||||||
static uint256 zero,prevtxid;
|
static uint256 zero,prevtxid;
|
||||||
CTransaction createTx; uint256 txid,assetid,assetid2,hashBlock; uint8_t funcid; int32_t i,n; uint64_t amount; std::vector<uint8_t> origpubkey;
|
CTransaction createTx; uint256 txid,assetid,assetid2,hashBlock; uint8_t funcid; int32_t i,n; uint64_t amount; std::vector<uint8_t> origpubkey;
|
||||||
txid = ctx.GetHash();
|
txid = ctx.GetHash();
|
||||||
if ( txid == prevtxid )
|
//if ( txid == prevtxid )
|
||||||
return(true);
|
return(true);
|
||||||
fprintf(stderr,"ProcessAssets\n");
|
fprintf(stderr,"ProcessAssets\n");
|
||||||
//CTransaction tx = *(CTransaction *)&ctx;
|
|
||||||
if ( paramsNull.size() != 0 ) // Don't expect params
|
if ( paramsNull.size() != 0 ) // Don't expect params
|
||||||
return eval->Invalid("Cannot have params");
|
return eval->Invalid("Cannot have params");
|
||||||
else if ( (n= ctx.vout.size()) == 0 )
|
else if ( (n= ctx.vout.size()) == 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user