diff options
Diffstat (limited to 'src/noise_test.go')
-rw-r--r-- | src/noise_test.go | 4 |
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, |