diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2024-02-12 18:15:19 +0000 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2024-02-12 18:18:21 +0000 |
commit | c6398c609b45706971a226a8f049703258ee14a9 (patch) | |
tree | ed06708126d3bdb54295ef02b97a761e735da95f /src/qt/walletmodeltransaction.cpp | |
parent | e3c17112ddfe740e5ab4c652d80ed1a19c13da5a (diff) | |
parent | 517c7f9cba306292e12e166b9dbc6c0838f05b27 (diff) | |
download | bitcoin-c6398c609b45706971a226a8f049703258ee14a9.tar.xz |
Merge bitcoin-core/gui#773: Check for private keys disabled before attempting unlock
517c7f9cba306292e12e166b9dbc6c0838f05b27 gui: Check for private keys disabled before attempting unlock (Andrew Chow)
Pull request description:
Before trying to unlock a wallet, first check if it has private keys disabled. If so, there is no need to unlock.
Note that such wallets are not expected to occur in typical usage. However bugs in previous versions allowed such wallets to be created, and so we need to handle them.
Fixes #772
For some additional context, see #631
ACKs for top commit:
hebasto:
ACK 517c7f9cba306292e12e166b9dbc6c0838f05b27, I have reviewed the code and it looks OK.
BrandonOdiwuor:
ACK 517c7f9cba306292e12e166b9dbc6c0838f05b27
Tree-SHA512: c92aa34344d04667b70b059d2aa0a1da999cb7239cd1413f3009781aa82379f309ff9808d7dc91d385e2c8afe2abda3564568e2091ef833b1536ebfcf80f7c3c
Diffstat (limited to 'src/qt/walletmodeltransaction.cpp')
0 files changed, 0 insertions, 0 deletions