Interop tests updated and fixed.

This commit is contained in:
Grant Wuerker
2020-08-18 15:35:03 -06:00
parent 5144ab8289
commit 36a4a9150d
10 changed files with 252 additions and 136 deletions

View File

@ -48,7 +48,7 @@ func MakeBasicHost(listenPort int, protocolID string, randseed int64) (host.Host
if protocolID == plaintext.ID {
opts = append(opts, libp2p.NoSecurity)
} else if protocolID == noise.ID {
tpt, err := noise.New(priv, noise.NoiseKeyPair(nil))
tpt, err := noise.New(priv)
if err != nil {
return nil, err
}