interfaces: remove now unused 'use_upnp' arg from 'mapPort'

This commit is contained in:
Antoine Poinsot
2024-10-20 20:45:12 +02:00
parent 038bbe7b20
commit a5fcfb7385
6 changed files with 6 additions and 6 deletions

View File

@@ -1827,7 +1827,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
if (node.peerman) node.peerman->SetBestBlock(chain_active_height, std::chrono::seconds{best_block_time});
// Map ports with NAT-PMP
StartMapPort(false, args.GetBoolArg("-natpmp", DEFAULT_NATPMP));
StartMapPort(args.GetBoolArg("-natpmp", DEFAULT_NATPMP));
CConnman::Options connOptions;
connOptions.m_local_services = g_local_services;