aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/addrman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/addrman.cpp b/src/bench/addrman.cpp
index bebf86a09d..b4c2e35f42 100644
--- a/src/bench/addrman.cpp
+++ b/src/bench/addrman.cpp
@@ -87,7 +87,7 @@ static void AddrManSelect(benchmark::Bench& bench)
bench.run([&] {
const auto& address = addrman.Select();
- assert(address.GetPort() > 0);
+ assert(address.first.GetPort() > 0);
});
}