|
@ -127,11 +127,11 @@ int32_t iguana_voutset(struct iguana_info *coin,uint8_t *scriptspace,char *asmst |
|
|
//P = (void *)(long)((long)rdata + rdata->Poffset);
|
|
|
//P = (void *)(long)((long)rdata + rdata->Poffset);
|
|
|
unspentind = (tx->firstvout + i); |
|
|
unspentind = (tx->firstvout + i); |
|
|
u = &U[unspentind]; |
|
|
u = &U[unspentind]; |
|
|
if ( u->vout != i || u->hdrsi != height / coin->chain->bundlesize ) //u->txidind != tx->txidind ||
|
|
|
/*if ( u->vout != i || u->hdrsi != height / coin->chain->bundlesize ) //u->txidind != tx->txidind ||
|
|
|
{ |
|
|
{ |
|
|
printf("%s.[%d].%d iguana_voutset: vout mismatch t%d u%u || %d vs %d\n",coin->symbol,height/coin->chain->bundlesize,u->hdrsi,u->txidind,unspentind,u->vout,i); |
|
|
printf("%s.[%d].%d iguana_voutset: vout mismatch t%d u%u || %d vs %d\n",coin->symbol,height/coin->chain->bundlesize,u->hdrsi,u->txidind,unspentind,u->vout,i); |
|
|
return(-1); |
|
|
return(-1); |
|
|
} |
|
|
}*/ |
|
|
vout->value = u->value; |
|
|
vout->value = u->value; |
|
|
vout->pk_script = scriptspace; |
|
|
vout->pk_script = scriptspace; |
|
|
scriptlen = iguana_voutscript(coin,bp,scriptspace,asmstr,u,&P[u->pkind],i); |
|
|
scriptlen = iguana_voutscript(coin,bp,scriptspace,asmstr,u,&P[u->pkind],i); |
|
|