mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-13 18:54:02 +01:00
interfaces: remove now unused 'use_upnp' arg from 'mapPort'
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user