-
Notifications
You must be signed in to change notification settings - Fork 38.7k
wallet: Use bilingual_str for errors #22337
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
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
hebasto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approach ACK b1eeae2458f533712c78d4aef4ea4f9587f10633.
While touching this code, could string duplication be eliminated in wallet/scriptpubkeyman.cpp?
b1eeae2 to
ffc8ff5
Compare
hebasto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ffc8ff57f0211603da7f0a1a9af5ef6fafaa5dd6
For GetNewDestination, GetNewChangeDestination, and GetReservedDestination, use bilingual_str for errors
ffc8ff5 to
92993aa
Compare
hebasto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
klementtan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK 92993aa
meshcollider
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK 92993aa
In a couple of places in the wallet, errors are
std::string. In order for these errors to be translated, change them to usebilingual_str.