Skip to content

Commit a8d645c

Browse files
committed
Update ScanForWalletTransactions result comment
Suggested bitcoin/bitcoin#14711 (comment)
1 parent 95a812b commit a8d645c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/wallet/wallet.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,10 +1622,11 @@ int64_t CWallet::RescanFromTime(int64_t startTime, const WalletRescanReserver& r
16221622
* @param[in] stop_block if not null, the scan will stop at this block instead
16231623
* of the chain tip
16241624
*
1625-
* @return ScanResult indicating success or failure of the scan. SUCCESS if
1626-
* scan was successful. FAILURE if a complete rescan was not possible (due to
1627-
* pruning or corruption). USER_ABORT if the rescan was aborted before it
1628-
* could complete.
1625+
* @return ScanResult returning scan information and indicating success or
1626+
* failure. Return status will be set to SUCCESS if scan was
1627+
* successful. FAILURE if a complete rescan was not possible (due to
1628+
* pruning or corruption). USER_ABORT if the rescan was aborted before
1629+
* it could complete.
16291630
*
16301631
* @pre Caller needs to make sure start_block (and the optional stop_block) are on
16311632
* the main chain after to the addition of any new keys you want to detect

0 commit comments

Comments
 (0)