Skip to content

Commit

Permalink
Fix tcp relay api logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-henry committed Jul 26, 2023
1 parent 10548d9 commit 2d83bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NodeService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2094,12 +2094,12 @@ void NodeService::setTcpRelayAddress(const char* tcpRelayAddr, unsigned short tc

void NodeService::allowTcpRelay(bool enabled)
{
_allowTcpRelay = true;
_allowTcpRelay = enabled;
}

void NodeService::forceTcpRelay(bool enabled)
{
_forceTcpRelay = true;
_forceTcpRelay = enabled;
}

int NodeService::setRoots(const void* rootsData, unsigned int len)
Expand Down

0 comments on commit 2d83bc2

Please sign in to comment.