test
This commit is contained in:
@@ -50,7 +50,7 @@ void komodo_gateway_deposits(CMutableTransaction& txNew)
|
|||||||
printf(" vout.%u DEPOSIT %.8f\n",ptr->vout,(double)KOMODO_DEPOSIT/COIN);
|
printf(" vout.%u DEPOSIT %.8f\n",ptr->vout,(double)KOMODO_DEPOSIT/COIN);
|
||||||
PENDING_KOMODO_TX += ptr->fiatoshis;
|
PENDING_KOMODO_TX += ptr->fiatoshis;
|
||||||
numvouts++;
|
numvouts++;
|
||||||
queue_enqueue((char *)"PENDINGS",&PendingsQ,&ptr->DL,0);
|
queue_enqueue((char *)"PENDINGS",&PendingsQ,&ptr->DL);
|
||||||
}
|
}
|
||||||
if ( numvouts > 1 )
|
if ( numvouts > 1 )
|
||||||
{
|
{
|
||||||
@@ -76,7 +76,7 @@ void komodo_gateway_deposit(uint64_t value,int32_t shortflag,char *symbol,uint64
|
|||||||
ptr->txid = txid;
|
ptr->txid = txid;
|
||||||
ptr->vout = vout;
|
ptr->vout = vout;
|
||||||
KOMODO_DEPOSIT += fiatoshis;
|
KOMODO_DEPOSIT += fiatoshis;
|
||||||
queue_enqueue((char *)"DEPOSITS",&DepositsQ,&ptr->DL,0);
|
queue_enqueue((char *)"DEPOSITS",&DepositsQ,&ptr->DL);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t komodo_gateway_depositremove(uint256 txid,uint16_t vout) // assetchain context
|
int32_t komodo_gateway_depositremove(uint256 txid,uint16_t vout) // assetchain context
|
||||||
|
|||||||
@@ -1202,7 +1202,7 @@ void *queue_clone(queue_t *clone,queue_t *queue,int32_t size)
|
|||||||
{
|
{
|
||||||
ptr = (struct queueitem *)calloc(1,sizeof(*ptr));
|
ptr = (struct queueitem *)calloc(1,sizeof(*ptr));
|
||||||
memcpy(ptr,item,size);
|
memcpy(ptr,item,size);
|
||||||
queue_enqueue(queue->name,clone,ptr,0);
|
queue_enqueue(queue->name,clone,ptr);
|
||||||
}
|
}
|
||||||
//printf("name.(%s) dequeue.%p list.%p\n",queue->name,item,queue->list);
|
//printf("name.(%s) dequeue.%p list.%p\n",queue->name,item,queue->list);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user