1861 | @@ -1862,6 +1862,8 @@ CWallet::ScanResult CWallet::ScanForWalletTransactions(const uint256& start_bloc
1862 | } else if (block_height && chain().shutdownRequested()) {
1863 | WalletLogPrintf("Rescan interrupted by shutdown request at block %d. Progress=%f\n", *block_height, progress_current);
1864 | result.status = ScanResult::USER_ABORT;
1865 | + } else {
1866 | + WalletLogPrintf("Rescan completed.\n");
1867 | }
1868 | }
style-nit: Could add a commit to remove this scope (and the 4 extraneous spaces that precede the lines)?
I added the commit to do that, but the diff is pretty big.