Merge pull request #672 from filecoin-project/feat/no-pkg-error

Swtich to xerrors
This commit is contained in:
Łukasz Magiera
2019-11-22 12:40:59 -06:00
committed by GitHub
17 changed files with 55 additions and 50 deletions
+3 -2
View File
@@ -3,6 +3,9 @@ package modules
import (
"context"
"crypto/rand"
"io"
"io/ioutil"
"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/build"
"github.com/filecoin-project/lotus/chain/types"
@@ -14,8 +17,6 @@ import (
"github.com/libp2p/go-libp2p-core/peerstore"
record "github.com/libp2p/go-libp2p-record"
"golang.org/x/xerrors"
"io"
"io/ioutil"
)
var log = logging.Logger("modules")