mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
mapport: drop unnecessary function
This commit is contained in:
parent
2a6536ceda
commit
9bd936fa34
1 changed files with 1 additions and 6 deletions
|
@ -161,14 +161,9 @@ static void DispatchMapPort()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void MapPortProtoSetEnabled(bool enabled)
|
|
||||||
{
|
|
||||||
g_mapport_enabled = enabled;
|
|
||||||
}
|
|
||||||
|
|
||||||
void StartMapPort(bool enable)
|
void StartMapPort(bool enable)
|
||||||
{
|
{
|
||||||
MapPortProtoSetEnabled(enable);
|
g_mapport_enabled = enable;
|
||||||
DispatchMapPort();
|
DispatchMapPort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue