Issues withdrawing with certain balances #7

Closed
opened 2018-05-14 21:43:21 +02:00 by tzarebczan · 3 comments
tzarebczan commented 2018-05-14 21:43:21 +02:00 (Migrated from github.com)

Two users recently came across an issue withdrawing their Twitter tipbot balance. I've narrowed it down to being related to the balance amount since this tipbot tries to withdraw the entire amount. This usually happens after a user withdrew, has a negative balance, then is tipped again, and tries to withdraw. One example: "twttr-xxxxxx": 4.99999580

We should round up to 3 digits or so when withdrawing, this might fix the problem. Not sure how Discord tipbot deals with the same issue, but there we withdraw certain amounts, not the entire one.

Two users recently came across an issue withdrawing their Twitter tipbot balance. I've narrowed it down to being related to the balance amount since this tipbot tries to withdraw the entire amount. This usually happens after a user withdrew, has a negative balance, then is tipped again, and tries to withdraw. One example: "twttr-xxxxxx": 4.99999580 We should round up to 3 digits or so when withdrawing, this might fix the problem. Not sure how Discord tipbot deals with the same issue, but there we withdraw certain amounts, not the entire one.
tzarebczan commented 2018-06-29 04:50:38 +02:00 (Migrated from github.com)
might be fixed by: https://github.com/lbryio/twitter-tipbot/issues/1
filipnyquist commented 2018-07-09 11:27:52 +02:00 (Migrated from github.com)

This has been fixed in #9

This has been fixed in #9
filipnyquist commented 2018-07-09 11:28:04 +02:00 (Migrated from github.com)

Rounds up the same was as discord tipbot now

Rounds up the same was as discord tipbot now
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/twitter-tipbot#7
No description provided.