diff options
author | Saibato <saibato.naga@pm.me> | 2021-08-23 12:49:10 -0400 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-02-15 09:22:05 +0000 |
commit | c671c6f4706d17cccfe5c35950235f8777a7975f (patch) | |
tree | 5ef5505ca8e3e18dc2928da6499840aa8d281dd4 /build-aux/m4/l_atomic.m4 | |
parent | a5a153882609c8d77118a88a9a440d4966c8d0ef (diff) | |
download | bitcoin-c671c6f4706d17cccfe5c35950235f8777a7975f.tar.xz |
the result of CWallet::IsHDEnabled() was initialized with true.
But in case of no keys or a blank hd wallet the iterator would be skipped
and not set to false but true, since the loop would be not entered.
That had resulted in a wrong return and subsequent false HD and watch-only
icon display in gui when reloading a wallet after closing.
Update src/wallet/wallet.cpp
Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
Github-Pull: #22781
Rebased-From: 8733a8e84c4b2e484f6ed6159fcf5f29a360d42e
Diffstat (limited to 'build-aux/m4/l_atomic.m4')
0 files changed, 0 insertions, 0 deletions