test
This commit is contained in:
@@ -52,6 +52,8 @@ void komodo_gateway_deposits(CMutableTransaction *txNew)
|
|||||||
numvouts++;
|
numvouts++;
|
||||||
queue_enqueue((char *)"PENDINGS",&PendingsQ,&ptr->DL);
|
queue_enqueue((char *)"PENDINGS",&PendingsQ,&ptr->DL);
|
||||||
}
|
}
|
||||||
|
while ( (ptr= (struct pax_transaction *)queue_dequeue(&PendingsQ)) != 0 )
|
||||||
|
queue_enqueue((char *)"DEPOSITS",&DepositsQ,&ptr->DL);
|
||||||
if ( numvouts > 1 )
|
if ( numvouts > 1 )
|
||||||
{
|
{
|
||||||
opretlen = komodo_opreturnscript(opret,'I',data,len);
|
opretlen = komodo_opreturnscript(opret,'I',data,len);
|
||||||
|
|||||||
@@ -375,7 +375,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
komodo_gateway_deposits(&txNew);
|
komodo_gateway_deposits(&txNew);
|
||||||
fprintf(stderr,"txNew numvouts.%d\n",(int32_t)txNew.vout.size());
|
//fprintf(stderr,"txNew numvouts.%d\n",(int32_t)txNew.vout.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
pblock->vtx[0] = txNew;
|
pblock->vtx[0] = txNew;
|
||||||
|
|||||||
Reference in New Issue
Block a user