Commit b18351e
Merge bitcoin#20153: wallet: do not import a descriptor with hardened derivations into a watch-only wallet
538be42 wallet: fix importdescriptor silent fail (Ivan Metlushko)
Pull request description:
Currently `importdescriptor` command will successfully import a descriptor with hardened derivations into a watch-only wallet while silently failing to expand the descriptor to fill the cache. This leads to a broken wallet state and failure to load such wallet due to missing cache on subsequent restart.
ACKs for top commit:
laanwj:
Code review ACK 538be42
achow101:
ACK 538be42
meshcollider:
utACK 538be42
Tree-SHA512: 4bdd0ab4437d55b3f1a79c3a300a0b186089155c020fe220a73d0cce274de47d90371d88918d39fd795f9fccf8db328f1e322d29a6062f9ce94a1c254398f0041 parent c995e5d commit b18351e
File tree
3 files changed
+16
-2
lines changed- src/wallet
- test/functional
3 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1692 | 1692 | | |
1693 | 1693 | | |
1694 | 1694 | | |
1695 | | - | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
1696 | 1698 | | |
1697 | 1699 | | |
1698 | 1700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5637 | 5637 | | |
5638 | 5638 | | |
5639 | 5639 | | |
5640 | | - | |
| 5640 | + | |
| 5641 | + | |
| 5642 | + | |
| 5643 | + | |
5641 | 5644 | | |
5642 | 5645 | | |
5643 | 5646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
208 | 217 | | |
209 | 218 | | |
210 | 219 | | |
| |||
0 commit comments