Network selector (#3410)

* fixes regression allowing for networks to honor build and runtime selection

* clang-format
This commit is contained in:
Russel Waters 2021-08-02 06:22:15 -07:00 committed by GitHub
commit 957ebe10b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ const std::string default_test_peer_network = nano::get_env_or_default ("NANO_TE
}
nano::node_config::node_config () :
node_config (0, nano::logging (), nano::dev::network_params)
node_config (0, nano::logging (), nano::network_params{ nano::network_constants::active_network })
{
}