Skip to content

Commit

Permalink
chore: update go-libp2p
Browse files Browse the repository at this point in the history
This commit was moved from ipfs/go-ipfs-keystore@dea784f
  • Loading branch information
marten-seemann authored and Jorropo committed Dec 9, 2022
1 parent 78dca4b commit a8baf45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions keystore/keystore.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"path/filepath"
"strings"

base32 "encoding/base32"
"encoding/base32"

logging "github.com/ipfs/go-log"
ci "github.com/libp2p/go-libp2p-core/crypto"
ci "github.com/libp2p/go-libp2p/core/crypto"
)

var log = logging.Logger("keystore")
Expand Down
4 changes: 2 additions & 2 deletions keystore/keystore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sort"
"testing"

ci "github.com/libp2p/go-libp2p-core/crypto"
ci "github.com/libp2p/go-libp2p/core/crypto"
)

type rr struct{}
Expand Down Expand Up @@ -160,7 +160,7 @@ func TestInvalidKeyFiles(t *testing.T) {

key := privKeyOrFatal(t)

bytes, err := key.Bytes()
bytes, err := key.Raw()
if err != nil {
t.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion keystore/memkeystore.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package keystore
import (
"errors"

ci "github.com/libp2p/go-libp2p-core/crypto"
ci "github.com/libp2p/go-libp2p/core/crypto"
)

// MemKeystore is an in memory keystore implementation that is not persisted to
Expand Down

0 comments on commit a8baf45

Please sign in to comment.