Skip to content

Commit

Permalink
Merge pull request #44 from libp2p/fix/inline-test
Browse files Browse the repository at this point in the history
fix the inline key test
  • Loading branch information
Stebalien committed Nov 2, 2018
2 parents 7a020ce + 5f4a118 commit 64945af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion p2p/host/peerstore/test/keybook_suite.go
Expand Up @@ -4,6 +4,7 @@ import (
"sort"
"testing"

ic "github.com/libp2p/go-libp2p-crypto"
peer "github.com/libp2p/go-libp2p-peer"
pt "github.com/libp2p/go-libp2p-peer/test"

Expand Down Expand Up @@ -144,7 +145,7 @@ func testInlinedPubKeyAddedOnRetrieve(kb pstore.KeyBook) func(t *testing.T) {
}

// Key small enough for inlining.
_, pub, err := pt.RandTestKeyPair(32)
_, pub, err := ic.GenerateKeyPair(ic.Ed25519, 256)
if err != nil {
t.Error(err)
}
Expand Down

0 comments on commit 64945af

Please sign in to comment.