#2 newMinerRecord not added on payout cycle

Closed
opened 3 years ago by TooManySugar · 2 comments
There is no content yet.
TooManySugar commented 3 years ago
Owner

Problem in calling db query to delete all wallet rows with time below payout time.
https://gogs.veloe.link/TooManySugar/GoEthemineTelegramBot/src/69f25124457b342a9a9ef0696bee460bbbbdfff7/update_data.go#L216-L236
At this moment newMinerRecord already at db and deletes here.

Problem in calling db query to delete all wallet rows with time below payout time.<br> https://gogs.veloe.link/TooManySugar/GoEthemineTelegramBot/src/69f25124457b342a9a9ef0696bee460bbbbdfff7/update_data.go#L216-L236<br> At this moment newMinerRecord already at db and deletes here.
TooManySugar referenced this issue from a commit 3 years ago
TooManySugar commented 3 years ago
Owner

Fixed in 4f294e09f2
Fix is deleting all rows with time less then currentMiner's time, nor then payout. Not appeared in original bot due to saving changes at db only after all calcus in UpdateData.

Fixed in 4f294e09f2<br> Fix is deleting all rows with time less then currentMiner's time, nor then payout. Not appeared in original bot due to saving changes at db only after all calcus in UpdateData.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.