mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-09 18:00:13 +02:00
mapport: drop unnecessary function
This commit is contained in:
@ -161,14 +161,9 @@ static void DispatchMapPort()
|
||||
}
|
||||
}
|
||||
|
||||
static void MapPortProtoSetEnabled(bool enabled)
|
||||
{
|
||||
g_mapport_enabled = enabled;
|
||||
}
|
||||
|
||||
void StartMapPort(bool enable)
|
||||
{
|
||||
MapPortProtoSetEnabled(enable);
|
||||
g_mapport_enabled = enable;
|
||||
DispatchMapPort();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user