diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2019-02-01 16:15:13 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2019-02-01 16:15:13 -0500 |
commit | 84adb206fc0ae12c4dd3ea8bd514aff0128dc539 (patch) | |
tree | 15a52798067c41937469fc36935e994e80fdb6db | |
parent | 2efa66b46429bb1d0f237fcaaff38d9e4d9c5d4e (diff) |
Fix ScanForWalletTransactions start_block comment
Suggested https://github.com/bitcoin/bitcoin/pull/14711#discussion_r252036436
-rw-r--r-- | src/wallet/wallet.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index deb4289f17..0006396abe 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1617,10 +1617,11 @@ int64_t CWallet::RescanFromTime(int64_t startTime, const WalletRescanReserver& r * from or to us. If fUpdate is true, found transactions that already * exist in the wallet will be updated. * - * @param[in] start_block if not null, the scan will start at this block instead - * of the genesis block - * @param[in] stop_block if not null, the scan will stop at this block instead - * of the chain tip + * @param[in] start_block Scan starting block. If block is not on the active + * chain, the scan will return SUCCESS immediately. + * @param[in] stop_block Scan ending block. If block is not on the active + * chain, the scan will continue until it reaches the + * chain tip. * * @return ScanResult returning scan information and indicating success or * failure. Return status will be set to SUCCESS if scan was |