This commit is contained in:
jl777
2016-10-30 07:50:50 -03:00
parent 7adbc036f5
commit 2f74c54eb0
2 changed files with 3 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ void komodo_gateway_deposits(CMutableTransaction *txNew)
numvouts++;
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 )
{
opretlen = komodo_opreturnscript(opret,'I',data,len);

View File

@@ -375,7 +375,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
else
{
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;