test
This commit is contained in:
@@ -505,6 +505,8 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
|
||||
numvins = block.vtx[i].vin.size();
|
||||
for (j=0; j<numvins; j++)
|
||||
{
|
||||
if ( i == 0 && j == 0 )
|
||||
continue;
|
||||
if ( (scriptlen= gettxout_scriptPubKey(scriptPubKey,sizeof(scriptPubKey),block.vtx[i].vin[j].prevout.hash,block.vtx[i].vin[j].prevout.n)) > 0 )
|
||||
{
|
||||
if ( (k= komodo_notarycmp(scriptPubKey,scriptlen,pubkeys,numnotaries,rmd160)) >= 0 )
|
||||
|
||||
@@ -297,7 +297,7 @@ int32_t gettxout_scriptPubKey(uint8_t *scriptPubKey,int32_t maxsize,uint256 txid
|
||||
m = tx.vout[n].scriptPubKey.size();
|
||||
for (i=0; i<maxsize&&i<m; i++)
|
||||
scriptPubKey[i] = ptr[i];
|
||||
fprintf(stderr,"got scriptPubKey via rawtransaction\n");
|
||||
//fprintf(stderr,"got scriptPubKey via rawtransaction\n");
|
||||
return(i);
|
||||
}
|
||||
return(-1);
|
||||
|
||||
Reference in New Issue
Block a user