summaryrefslogtreecommitdiffhomepage
path: root/src/noise_test.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2018-02-02 20:45:25 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2018-02-02 20:45:25 +0100
commit5871ec04deb8f4715cab37146940baa35c08cbee (patch)
tree8d643e991a3525c69a317c85cde6708bae2925aa /src/noise_test.go
parent4f97b52ea60ce4f2448d8617853aa44759727197 (diff)
Fixed tests
Diffstat (limited to 'src/noise_test.go')
-rw-r--r--src/noise_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/noise_test.go b/src/noise_test.go
index 0d7f0e9..5e9d44b 100644
--- a/src/noise_test.go
+++ b/src/noise_test.go
@@ -31,8 +31,8 @@ func TestNoiseHandshake(t *testing.T) {
defer dev1.Close()
defer dev2.Close()
- peer1, _ := dev2.NewPeer(dev1.privateKey.publicKey())
- peer2, _ := dev1.NewPeer(dev2.privateKey.publicKey())
+ peer1, _ := dev2.NewPeer(dev1.noise.privateKey.publicKey())
+ peer2, _ := dev1.NewPeer(dev2.noise.privateKey.publicKey())
assertEqual(
t,