Commit a9d0cec
MarcoFalke
Merge #23106: Ensure wallet is unlocked before signing PSBT with walletprocesspsbt and GUI
7e3ee4c GUI: Ask user to unlock wallet before signing psbt (Samuel Dobson)
0f3acec Add test that walletprocesspsbt requires unlocked wallet when signing (Samuel Dobson)
0e89521 Ensure wallet is unlocked before signing in walletprocesspsbt (Samuel Dobson)
Pull request description:
If signing a PSBT, we need to ensure the wallet is unlocked.
Fixes #22874, fixes bitcoin-core/gui#312
ACKs for top commit:
achow101:
ACK 7e3ee4c
lsilva01:
Code Review ACK 7e3ee4c
benthecarman:
ACK 7e3ee4c
Tree-SHA512: 6726a873582747900ab454ea21153a92be86808a4c1517dc2856b389876a2da9e8df1ffa9b567b6bd017038342c3544ecf5ca3c97744e7debe0a5ee65563687dFile tree
3 files changed
+20
-2
lines changed- src
- qt
- wallet
- test/functional
3 files changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
84 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4420 | 4420 | | |
4421 | 4421 | | |
4422 | 4422 | | |
4423 | | - | |
| 4423 | + | |
4424 | 4424 | | |
4425 | 4425 | | |
4426 | 4426 | | |
| |||
4467 | 4467 | | |
4468 | 4468 | | |
4469 | 4469 | | |
| 4470 | + | |
| 4471 | + | |
| 4472 | + | |
4470 | 4473 | | |
4471 | 4474 | | |
4472 | 4475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
111 | 121 | | |
112 | 122 | | |
113 | 123 | | |
| |||
0 commit comments