This PR adds test coverage for the following error: https://github.com/bitcoin/bitcoin/blob/437b608df289c97fd88f1dd79bdc8359e1b1c5b1/src/wallet/rpc/backup.cpp#L513-L518
test: check importing wallets when blocks are pruned throw an error #26206
pull brunoerg wants to merge 1 commits into bitcoin:master from brunoerg:2022-09-test-import-wallet-pruned changing 1 files +2 −0-
brunoerg commented at 5:46 PM on September 29, 2022: contributor
-
test: check importing wallets when blocks are pruned throw an error 4aff7a48a4
- DrahtBot added the label Tests on Sep 29, 2022
-
aureleoules commented at 9:09 AM on September 30, 2022: member
Related #24865.
- andrewtoth approved
-
andrewtoth commented at 1:44 AM on October 19, 2022: contributor
ACK 4aff7a48a4e0f1075306f181a276b8a74c857022
Ran the test and also verified it breaks by calling
self.nodes[2].importwallet("abc")instead ofassert_raises_rpc_error. - maflcko merged this on Oct 19, 2022
- maflcko closed this on Oct 19, 2022
- sidhujag referenced this in commit a1bc7fd6bc on Oct 23, 2022
- bitcoin locked this on Oct 19, 2023
Contributors
Labels