895 | @@ -896,14 +896,14 @@ RPCHelpMan rescanblockchain()
896 | CHECK_NONFATAL(pwallet->chain().findAncestorByHeight(pwallet->GetLastBlockHash(), start_height, FoundBlock().hash(start_block)));
897 | }
898 |
899 | - CWallet::ScanResult result =
900 | + ScanResult result =
901 | pwallet->ScanForWalletTransactions(start_block, start_height, stop_height, reserver, /*fUpdate=*/true, /*save_progress=*/false);
902 | switch (result.status) {
903 | - case CWallet::ScanResult::SUCCESS:
904 | + case ScanResult::SUCCESS:
in a2930eceaac1356e7bdc0438dee315f5b18377ce
Before the scan result was in the CWallet namespace CWallet::ScanResult::SUCCESS, but now in some places we have wallet::ScanResult::SUCCESS and in others there's only ScanResult::SUCCESS. Maybe try to keep the wallet:: namespace on all occurrences to keep consistency between files.
Maybe try to keep the wallet:: namespace on all occurrences to keep consistency between files.
I'm not sure this is a good reason to use wallet:: in code already within the wallet namespace.