aboutsummaryrefslogtreecommitdiff
path: root/src/util/asmap.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-07-15 11:34:21 -0400
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-08-12 10:27:56 +0100
commit31ca698f2017c57aad8f9839a582c6864ede92bd (patch)
tree2dbb35a0f0adcf159bd22f1bbaaafe4ab33212e6 /src/util/asmap.h
parentda9578da800ba98c5763f28d5777cb4067df448e (diff)
Disallow encryption of watchonly wallets
Watchonly wallets do not have any private keys to encrypt. It does not make sense to encrypt such wallets, so disable the option to encrypt them. This avoids an assertion that can be hit when encrypting watchonly descriptor wallets. Github-Pull: bitcoin-core/gui#631 Rebased-From: 4c495413e138ec1dd6874e41b44e689f0c15e0e3
Diffstat (limited to 'src/util/asmap.h')
0 files changed, 0 insertions, 0 deletions