-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BAT for tip withdrawn twice if internet connection lost after tipping #2297
Comments
Good find @LaurenWags 👍 IMO, this should be a |
Encountered again while testing #3052 which changes retry logic for tips. Here's what I'm seeing:
|
@LaurenWags are you able to see if you can reproduce on latest master and nightly and list your STR? I have had a hard time trying to repro this one, and last I checked on was 0.64. (Note I also tried issuing a keyboard interrupt in addition to just cutting my network connection, same results). Thank you! |
@ryanml I reproduced on latest nightly available on macOS:
Is there any other info I can provide? Maybe launch with additional parameters from terminal? |
@LaurenWags so it didn't tip twice now, the only problem now was that transaction was not recorded? |
Tried it again @NejcZdovc and this time the tip did happen twice (but was only recorded once, so could be something to do with timing and I didn't wait long enough last time I tried. |
closing as we changed contribution flow completely. Please reopen if still a problem after SKU work lands |
Description
Found while testing #1483
If you tip a site and immediately lose internet connection, when you come back online you'll see that your wallet balance has gone down by the amount of the tip, but no tip is recorded. If you wait a couple minutes, you see your wallet balance go down again, and your tip is recorded (once).
Steps to Reproduce
Actual result:
When internet returns, your balance is less the tip amount (mine was 1BAT), but no tips displayed in tips panel or Rewards Summary. If you wait a couple more minutes --> wallet balance goes down again (the amount of the tip) and now a single tip is displayed in Tips panel/Rewards Summary.
Expected result:
Tip should only be deducted from balance once, not twice.
Reproduces how often:
easily
Brave version (brave://version info)
Reproducible on current release:
Website problems only:
Additional Information
cc @brave/legacy_qa to check other platforms
The text was updated successfully, but these errors were encountered: