-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
tokens transferred to uphold not marked as redeemed in DB #9967
Milestone
Comments
32 tasks
NejcZdovc
added a commit
to brave/brave-core
that referenced
this issue
May 27, 2020
32 tasks
Labelling as |
This was referenced Jul 8, 2020
Removing |
Verified passed with
Verification passed on
Verification passed on
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Found while testing #9891 / brave/brave-core#5619 (comment).
After staging ad grant moved to sandbox uphold account, unblinded tokens aren't correctly marked as redeemed in the database.
Steps to Reproduce
/Applications/Brave\ Browser\ Nightly.app/Contents/MacOS/Brave\ Browser\ Nightly --enable-logging=stderr --vmodule=*/bat-native-ledger/*=6,*/brave_rewards/*=6 --log-level=2 --rewards=staging=true --brave-ads-staging
(note, changes to logging introduced with 1.11.x)unblinded_tokens
table mark some tokens as redeemed. To do this, I copied the timestamp fromcreated_at
to theredeemed_at
column and set it 1 minute ahead.Actual result:
Your balance appears doubled. Going to DB you can see tokens not marked as redeemed.
Expected result:
tokens marked as redeemed
Reproduces how often:
easily
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
cc @NejcZdovc
The text was updated successfully, but these errors were encountered: