Commit 560a6263 authored by suyanlong's avatar suyanlong

Adjust import path

parent b4634ac8
Pipeline #8001 failed with stages
...@@ -2,7 +2,6 @@ package main ...@@ -2,7 +2,6 @@ package main
import ( import (
"fmt" "fmt"
"github.com/link33/sidecar/internal"
"net/http" "net/http"
_ "net/http/pprof" _ "net/http/pprof"
"os" "os"
...@@ -12,6 +11,7 @@ import ( ...@@ -12,6 +11,7 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/link33/sidecar/internal"
"github.com/link33/sidecar/internal/app" "github.com/link33/sidecar/internal/app"
"github.com/link33/sidecar/internal/loggers" "github.com/link33/sidecar/internal/loggers"
"github.com/link33/sidecar/internal/repo" "github.com/link33/sidecar/internal/repo"
......
...@@ -2,12 +2,13 @@ package peermgr ...@@ -2,12 +2,13 @@ package peermgr
import ( import (
"fmt" "fmt"
"strings"
crypto2 "github.com/libp2p/go-libp2p-core/crypto" crypto2 "github.com/libp2p/go-libp2p-core/crypto"
"github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/peer"
"github.com/meshplus/bitxhub-kit/crypto" "github.com/meshplus/bitxhub-kit/crypto"
"github.com/meshplus/bitxhub-kit/crypto/asym/ecdsa" "github.com/meshplus/bitxhub-kit/crypto/asym/ecdsa"
ma "github.com/multiformats/go-multiaddr" ma "github.com/multiformats/go-multiaddr"
"strings"
) )
func convertToLibp2pPrivKey(privateKey crypto.PrivateKey) (crypto2.PrivKey, error) { func convertToLibp2pPrivKey(privateKey crypto.PrivateKey) (crypto2.PrivKey, error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment