Skip to content

Commit 84adb20

Browse files
committed
Fix ScanForWalletTransactions start_block comment
Suggested bitcoin#14711 (comment)
1 parent 2efa66b commit 84adb20

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/wallet/wallet.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -1617,10 +1617,11 @@ int64_t CWallet::RescanFromTime(int64_t startTime, const WalletRescanReserver& r
16171617
* from or to us. If fUpdate is true, found transactions that already
16181618
* exist in the wallet will be updated.
16191619
*
1620-
* @param[in] start_block if not null, the scan will start at this block instead
1621-
* of the genesis block
1622-
* @param[in] stop_block if not null, the scan will stop at this block instead
1623-
* of the chain tip
1620+
* @param[in] start_block Scan starting block. If block is not on the active
1621+
* chain, the scan will return SUCCESS immediately.
1622+
* @param[in] stop_block Scan ending block. If block is not on the active
1623+
* chain, the scan will continue until it reaches the
1624+
* chain tip.
16241625
*
16251626
* @return ScanResult returning scan information and indicating success or
16261627
* failure. Return status will be set to SUCCESS if scan was

0 commit comments

Comments
 (0)