Files
monero/src
jeff 205c80427b wallet: store watch-only wallet correctly when change_password() is called
The Monero GUI code was calling `Monero::wallet::setPassword()` on every open/close for some reason,
and the old `store_to()` code called `store_keys()` with `watch_only=false`, even for watch-only wallets.
This caused a bug where the watch-only keys file got saved with with the JSON field `watch_only` set to 0,
and after saving a watch-only wallet once, a user could never open it back up against because `load()` errored out.
This never got brought up before this because you would have to change the file location of the watch-only
wallet to see this bug, and I guess that didn't happen often, but calling the new `store_to()` function with the
new `force_rewrite` parameter set to `true` triggers key restoring and the bug appeared.
2023-09-22 09:20:56 -05:00
..
2023-09-10 18:30:34 +02:00
2023-09-10 18:30:34 +02:00
2023-07-06 21:33:25 -05:00
2023-06-27 11:38:42 -05:00
2023-09-10 18:30:34 +02:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2023-08-17 10:18:12 -05:00
2022-03-04 06:59:20 +01:00
2023-03-18 18:23:14 -04:00
2023-09-10 18:30:34 +02:00