mirror of https://github.com/status-im/nim-eth.git
eth/net/nat.nim: delete unused var
This commit is contained in:
parent
05bf76c537
commit
bb79902399
|
@ -177,8 +177,6 @@ proc repeatPortMapping(args: PortMappingArgs) {.thread.} =
|
||||||
lastUpdate = currTime
|
lastUpdate = currTime
|
||||||
sleep(sleepDuration)
|
sleep(sleepDuration)
|
||||||
|
|
||||||
var mainThreadId = getThreadId()
|
|
||||||
|
|
||||||
proc stopNatThread() {.noconv.} =
|
proc stopNatThread() {.noconv.} =
|
||||||
# stop the thread
|
# stop the thread
|
||||||
natCloseChan.send(true)
|
natCloseChan.send(true)
|
||||||
|
|
Loading…
Reference in New Issue