Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

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 6295e61 + 62b237f commit d544f80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sudo: false
language: go

go:
- 1.9.x
- 1.11.x

install:
- make deps
Expand Down
3 changes: 2 additions & 1 deletion test/keybook_suite.go
Original file line number Diff line number Diff line change
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 d544f80

Please sign in to comment.