|
|
@ -723,11 +723,11 @@ char *iguana_validaterawtx(void *ctx,struct iguana_info *coin,struct iguana_msgt |
|
|
|
sighash = LP_sighash(symbol,zcash); |
|
|
|
complete = bitcoin_verifyvins(ctx,symbol,taddr,pubtype,p2shtype,isPoS,height,&signedtxid,&signedtx,msgtx,serialized2,maxsize,V,sighash,0,V[0].suppress_pubkeys,zcash); |
|
|
|
msgtx->txid = signedtxid; |
|
|
|
log = cJSON_CreateArray(); |
|
|
|
/*log = cJSON_CreateArray();
|
|
|
|
if ( iguana_interpreter(ctx,log,0,V,numinputs) < 0 ) |
|
|
|
jaddstr(retjson,"error","interpreter rejects tx"); |
|
|
|
else complete = 1; |
|
|
|
jadd(retjson,"interpreter",log); |
|
|
|
jadd(retjson,"interpreter",log);*/ |
|
|
|
jaddnum(retjson,"complete",complete); |
|
|
|
free(serialized), free(serialized2); |
|
|
|
if ( signedtx != 0 ) |
|
|
|