0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-21 12:22:50 -05:00

mapport: drop unnecessary function

This commit is contained in:
Antoine Poinsot 2024-10-29 11:59:36 -04:00
parent 2a6536ceda
commit 9bd936fa34
No known key found for this signature in database
GPG key ID: E13FC145CD3F4304

View file

@ -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();
}