From a8d645c934ff878773332c34347ba2d91b4dee05 Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Thu, 31 Jan 2019 17:48:51 -0500 Subject: [PATCH] Update ScanForWalletTransactions result comment Suggested https://github.com/bitcoin/bitcoin/pull/14711#discussion_r252038666 --- src/wallet/wallet.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 784cb51cc2..deb4289f17 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1622,10 +1622,11 @@ int64_t CWallet::RescanFromTime(int64_t startTime, const WalletRescanReserver& r * @param[in] stop_block if not null, the scan will stop at this block instead * of the chain tip * - * @return ScanResult indicating success or failure of the scan. SUCCESS if - * scan was successful. FAILURE if a complete rescan was not possible (due to - * pruning or corruption). USER_ABORT if the rescan was aborted before it - * could complete. + * @return ScanResult returning scan information and indicating success or + * failure. Return status will be set to SUCCESS if scan was + * successful. FAILURE if a complete rescan was not possible (due to + * pruning or corruption). USER_ABORT if the rescan was aborted before + * it could complete. * * @pre Caller needs to make sure start_block (and the optional stop_block) are on * the main chain after to the addition of any new keys you want to detect