diff --git a/nano/node/node.cpp b/nano/node/node.cpp index a270ac4367..fda474c1b2 100644 --- a/nano/node/node.cpp +++ b/nano/node/node.cpp @@ -1415,7 +1415,7 @@ nano::node_wrapper::node_wrapper (std::filesystem::path const & path_a, std::fil auto & node_config = daemon_config.node; node_config.peering_port = 24000; - node = std::make_shared (*io_context, path_a, node_config, work, node_flags_a); + node = std::make_shared (io_context, path_a, node_config, work, node_flags_a); } nano::node_wrapper::~node_wrapper ()