This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 971
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrates the contribution amounts from old USD setting to new BAT set…
…ting Fixes #11719 Auditors: @NejcZdovc, @evq, @petemill Test Plan: - Use an older version of Brave (0.18.36 for example) - Enable payments and set contribution amount as one of the original amounts (like $10 for example) - Run a build with this fix in it - In preferences#payments, you should notice it should be 25 BAT if USD was $5, 50 if $10, 75 if $15, 100 if $20 - Exit Brave - Open the ledger-state.json file and inspect, looking for properties.fee.amount - This should have the new value (25, 50, 75, or 100) not the old value (5, 10, 15, 20)
- Loading branch information
Showing
2 changed files
with
135 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters