mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
205c80427b
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. |
||
---|---|---|
.. | ||
blockchain_db | ||
blockchain_utilities | ||
blocks | ||
checkpoints | ||
common | ||
crypto | ||
cryptonote_basic | ||
cryptonote_core | ||
cryptonote_protocol | ||
daemon | ||
daemonizer | ||
debug_utilities | ||
device | ||
device_trezor | ||
gen_multisig | ||
gen_ssl_cert | ||
hardforks | ||
lmdb | ||
mnemonics | ||
multisig | ||
net | ||
p2p | ||
platform | ||
ringct | ||
rpc | ||
serialization | ||
simplewallet | ||
wallet | ||
CMakeLists.txt | ||
cryptonote_config.h | ||
version.cpp.in | ||
version.h |