]> Git Repo - VerusCoin.git/commitdiff
test
authorjl777 <[email protected]>
Thu, 27 Oct 2016 14:08:11 +0000 (11:08 -0300)
committerjl777 <[email protected]>
Thu, 27 Oct 2016 14:08:11 +0000 (11:08 -0300)
src/komodo_gateway.h

index 4dd651aaf0d2621e4087a055f03c53f6f36e245b..fada13de35513846f32adcca562ed3610fb705da 100644 (file)
@@ -28,7 +28,7 @@ void komodo_gateway_deposits(CMutableTransaction& txNew)
 {
     struct pax_transaction *ptr; uint8_t *script,opret[10000],data[10000]; int32_t i,len=0,opretlen=0,numvouts=1;
     PENDING_KOMODO_TX = 0;
-    while ( (ptr= (struct pax_transaction *)queue_dequeue(&DepositsQ,0)) != 0 )
+    while ( (ptr= (struct pax_transaction *)queue_dequeue(&DepositsQ)) != 0 )
     {
         txNew.vout.resize(numvouts+1);
         txNew.vout[numvouts].nValue = ptr->fiatoshis;
@@ -100,7 +100,7 @@ int32_t komodo_gateway_depositremove(uint256 txid,uint16_t vout) // assetchain c
                     printf("DELETE %.8f DEPOSIT %s %.8f\n",dstr(ptr->komodoshis),ptr->symbol,dstr(ptr->fiatoshis));
                     DL_DELETE(Q->list,&ptr->DL);
                     n++;
-                    myfree(ptr,sizeof(struct queueitem));
+                    free(ptr);
                     break;
                 }
             }
This page took 0.027157 seconds and 4 git commands to generate.