-
Notifications
You must be signed in to change notification settings - Fork 219
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
chore: hide private values in debug and serialize #3905
Conversation
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.
Nice!
accc652
to
694fd51
Compare
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.
LGTM, just the one signature that does not have to be ignored
These ones are required to be serialized:
`base_layer\key_manager\src\wasm.rs
|
Description --- - fixes regression where tor identity private key is not serialised in wallet db Motivation and Context --- Following error on wallet startup ``` ExitError { exit_code: WalletError, details: Some("Wallet storage error: `Error converting a type: `An error occurred de-/serialising an object from/into JSON``") } ``` Ref #3905 How Has This Been Tested? --- Wallet starts up
Description
Added
derivative
macro to get rid of the debug prints.Motivation and Context
Hide all private values that can be exposed accidentally via debug or serializing.
How Has This Been Tested?
integration tests only