mirror of
https://github.com/monero-project/monero.git
synced 2025-07-25 04:05:25 -04:00
Better log message for unusable anon networks
This commit is contained in:
parent
f690e4984d
commit
398e64ccbe
4 changed files with 20 additions and 16 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue