diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-11-23 16:14:40 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-11-23 16:14:40 -0600 |
commit | 9c1562c03864f44a99d076bd3b244d3a1fea65b4 (patch) | |
tree | 5558471489b02a117ba0eabd4a18e4751545deb6 /tests/unit_tests | |
parent | Merge pull request #6982 (diff) | |
parent | Better log message for unusable anon networks (diff) | |
download | monero-9c1562c03864f44a99d076bd3b244d3a1fea65b4.tar.xz |
Merge pull request #7007
91fd634 Better log message for unusable anon networks (hyc)
Diffstat (limited to '')
-rw-r--r-- | tests/unit_tests/levin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit_tests/levin.cpp b/tests/unit_tests/levin.cpp index f8f1ac2da..9ff68d927 100644 --- a/tests/unit_tests/levin.cpp +++ b/tests/unit_tests/levin.cpp @@ -329,7 +329,8 @@ namespace epee::byte_slice noise = nullptr; if (noise_size) noise = epee::levin::make_noise_notify(noise_size); - return cryptonote::levin::notify{io_service_, connections_, std::move(noise), is_public, pad_txs, events_}; + epee::net_utils::zone zone = is_public ? epee::net_utils::zone::public_ : epee::net_utils::zone::i2p; + return cryptonote::levin::notify{io_service_, connections_, std::move(noise), zone, pad_txs, events_}; } boost::uuids::random_generator random_generator_; |