diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index e626571c7..4cef6e507 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -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); diff --git a/src/miner.cpp b/src/miner.cpp index 920ed4806..c1a585226 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -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;