diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-07-27 10:02:26 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-08-05 17:29:25 +0000 |
commit | 7354ffb8a7ccdfab0c7be186423634ac571ba1cb (patch) | |
tree | dac627b8257bda98c2cdcd59c5d8e8068a2845a4 /tests/unit_tests | |
parent | Merge pull request #7764 (diff) | |
download | monero-7354ffb8a7ccdfab0c7be186423634ac571ba1cb.tar.xz |
p2p: remove blocked addresses/hosts from peerlist
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/epee_utils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/epee_utils.cpp b/tests/unit_tests/epee_utils.cpp index cbe3c61b1..b83a809b7 100644 --- a/tests/unit_tests/epee_utils.cpp +++ b/tests/unit_tests/epee_utils.cpp @@ -1512,6 +1512,7 @@ TEST(NetUtils, NetworkAddress) constexpr static epee::net_utils::address_type get_type_id() noexcept { return epee::net_utils::address_type(-1); } constexpr static epee::net_utils::zone get_zone() noexcept { return epee::net_utils::zone::invalid; } constexpr static bool is_blockable() noexcept { return false; } + constexpr static uint16_t port() { return 0; } }; const epee::net_utils::network_address empty; |