Remove other spurious getStacktrace in pubsub traces

This commit is contained in:
Giovanni Petrantoni 2020-07-09 13:19:34 +09:00
parent 4bcb567d47
commit 9b8b159abb
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ method handleDisconnect*(p: PubSub, peer: PubSubPeer) {.base.} =
## handle peer disconnects ## handle peer disconnects
## ##
if peer.id in p.peers: if peer.id in p.peers:
trace "deleting peer", peer = peer.id, stack = getStackTrace() trace "deleting peer", peer = peer.id
p.peers[peer.id] = nil p.peers[peer.id] = nil
p.peers.del(peer.id) p.peers.del(peer.id)