mirror of
https://github.com/monero-project/kovri
synced 2025-10-06 00:32:51 +02:00
NetDB: correct floodfill context option
Prevents boost::bad_any_cast by using the correct variable_map entry.
This commit is contained in:
@@ -147,7 +147,7 @@ class RouterContext : public RouterInfoTraits, public GarlicDestination {
|
||||
// @return true if we are a floodfill router otherwise false
|
||||
bool IsFloodfill() const
|
||||
{
|
||||
return m_Opts["floodfill"].as<bool>();
|
||||
return m_Opts["enable-floodfill"].as<bool>();
|
||||
}
|
||||
|
||||
// @return true if we are going to accept tunnels right now.
|
||||
|
Reference in New Issue
Block a user