mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
addrman: change Select to support multiple networks
This commit is contained in:
@@ -133,7 +133,7 @@ static void AddrManSelectByNetwork(benchmark::Bench& bench)
|
||||
FillAddrMan(addrman);
|
||||
|
||||
bench.run([&] {
|
||||
(void)addrman.Select(/*new_only=*/false, NET_I2P);
|
||||
(void)addrman.Select(/*new_only=*/false, {NET_I2P});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user