aboutsummaryrefslogtreecommitdiff
path: root/src/addrman_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/addrman_impl.h')
-rw-r--r--src/addrman_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addrman_impl.h b/src/addrman_impl.h
index 7aead2812b..9aff408e34 100644
--- a/src/addrman_impl.h
+++ b/src/addrman_impl.h
@@ -255,7 +255,7 @@ private:
/** Helper to generalize looking up an addrman entry from either table.
*
- * @return int The nid of the entry or -1 if the addrman position is empty.
+ * @return int The nid of the entry. If the addrman position is empty or not found, returns -1.
* */
int GetEntry(bool use_tried, size_t bucket, size_t position) const EXCLUSIVE_LOCKS_REQUIRED(cs);