diff options
author | fanquake <fanquake@gmail.com> | 2022-03-24 15:12:31 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-03-25 08:22:24 +0000 |
commit | 7e22d80af333b202939bcb2631082006c097bf22 (patch) | |
tree | e090a4e52d39a0d48c7bab501b86ad392aee1f38 /src/addrman.cpp | |
parent | 67f654ef612c8dbefb969e6e67c286ea2c2e82d6 (diff) |
addrman: fix incorrect named args
Diffstat (limited to 'src/addrman.cpp')
-rw-r--r-- | src/addrman.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/addrman.cpp b/src/addrman.cpp index 2fd8143c1c..2a08d99eef 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -946,16 +946,16 @@ std::optional<AddressPosition> AddrManImpl::FindAddressEntry_(const CAddress& ad if(addr_info->fInTried) { int bucket{addr_info->GetTriedBucket(nKey, m_asmap)}; - return AddressPosition(/*tried=*/true, - /*multiplicity=*/1, - /*bucket=*/bucket, - /*position=*/addr_info->GetBucketPosition(nKey, false, bucket)); + return AddressPosition(/*tried_in=*/true, + /*multiplicity_in=*/1, + /*bucket_in=*/bucket, + /*position_in=*/addr_info->GetBucketPosition(nKey, false, bucket)); } else { int bucket{addr_info->GetNewBucket(nKey, m_asmap)}; - return AddressPosition(/*tried=*/false, - /*multiplicity=*/addr_info->nRefCount, - /*bucket=*/bucket, - /*position=*/addr_info->GetBucketPosition(nKey, true, bucket)); + return AddressPosition(/*tried_in=*/false, + /*multiplicity_in=*/addr_info->nRefCount, + /*bucket_in=*/bucket, + /*position_in=*/addr_info->GetBucketPosition(nKey, true, bucket)); } } |