Open LuriDDD opened 3 months ago
How did it happen that get_unfulfilled
= 3 and get_subscribers
= 0?
Was it sth like 3 initial requests and 3 duplicate requests were added? So only the initial ones were fulfilled?
First I sent a transaction for 4 requests, then another one for 1 request, but by this time the oracle had completed 1 request, so only 3 were duplicated
Was the problem resolved? @ProgramCrafter
@LuriDDD could you please create a pull request if you have a solution?
When a user who is already subscribed sends additional requests for messages, the current logic results in duplicated counts in the overall message counter (
unfulfilled_requests
).Steps to Reproduce:
unfulfilled_requests
.unfulfilled_requests
again, causing duplication.Current Behavior:
added_messages
are correctly added to unfulfilled_requests.added_messages
, and then both are added again tounfulfilled_requests
, causing a double count.You can verify this by calling the get methods (
get_unfulfilled
return 3 whileget_subscribers
- 0) on your contract https://tonviewer.com/EQCwaEBhdPAl8Lj5ctJjB_6dZv2qOoeuIrjVPgDFvVTvDRL-