summaryrefslogtreecommitdiffhomepage
path: root/test/performance_test/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/performance_test/main.go')
-rw-r--r--test/performance_test/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance_test/main.go b/test/performance_test/main.go
index d005bcfa..4385dd68 100644
--- a/test/performance_test/main.go
+++ b/test/performance_test/main.go
@@ -72,7 +72,7 @@ func main() {
},
}
peer := newPeer(g, p, incoming)
- peerMap[p.Transport.Config.LocalAddress.String()] = peer
+ peerMap[p.Transport.Config.LocalAddress] = peer
}
established := 0
ticker := time.NewTicker(time.Second * 5)