doc: Correct description of CAddrMan::Create()

Co-authored-by: Martin Zumsande <mzumsande@gmail.com>
This commit is contained in:
Amiti UttarwarandMartin Zumsande authored and Martin Zumsande committed 2021-08-02 22:34:30 +02:00
1 parent 318176aff1
commit 036d7eadf5
1 file changed
+1 -2
+1 -2
View File
@@ -696,8 +696,7 @@ private:
//! Find an entry.
CAddrInfo* Find(const CNetAddr& addr, int *pnId = nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs);
//! find an entry, creating it if necessary.
//! nTime and nServices of the found node are updated, if necessary.
//! Create a new entry and add it to the internal data structures mapInfo, mapAddr and vRandom.
CAddrInfo* Create(const CAddress &addr, const CNetAddr &addrSource, int *pnId = nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs);
//! Swap two elements in vRandom.