Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up[P3A] Incorrect value set for WalletBalance [Follow up to #7633] #8296
Comments
|
Reproduced on macOS.
Restored a wallet with 28 BAT (no grants). Expected "Brave.Rewards.WalletBalance.2" value to be 3 for "10-50 BAT, excluding grants", however it is still displaying 2, even after browser restart. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Description
[P3A] Incorrect value set for WalletBalance [Follow up to #7633]
Steps to Reproduce
Scenario 1:
Brave.Rewards.WalletBalance.2is set to 0 (as expected)Brave.Rewards.WalletBalance.2is set to 2[10-50 BAT, excluding grants] instead of 1[Less than 10 BAT (0-9), excluding grants]Scenario 2:
Brave.Rewards.WalletBalance.2is set to 0 (as expected)Brave.Rewards.WalletBalance.2is set to 2[10-50 BAT, excluding grants] instead of 1[Less than 10 BAT (0-9), excluding grants]Brave.Rewards.WalletBalance.2is set to 3[Over 50 BAT, excluding grants] instead of 1 [Less than 10 BAT (0-9), excluding grants]Actual result:
Incorrect value set for WalletBalance
Expected result:
Correct values for excluding grants should be set
Reproduces how often:
Easy
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
Incorrect value is set on current release version as well. May be related to #7235. Issue reproduced on Windows by @GeetaSarvadnya .
cc: @iefremov @rebron