|
|
@ -377,6 +377,7 @@ void LP_tradebot_finished(uint32_t tradeid,uint32_t requestid,uint32_t quoteid) |
|
|
|
//bot->numpending--, bot->completed++;
|
|
|
|
printf("bot.%u detected completion tradeid.%u aliceid.%llx r.%u q.%u, numpending.%d completed.%d\n",bot->id,tp->tradeid,(long long)tp->aliceid,tp->requestid,tp->quoteid,bot->numpending,bot->completed); |
|
|
|
tp->completed = tp->finished = (uint32_t)time(NULL); |
|
|
|
strcpy(tp->event,"finished"); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|