Lint fixes

This commit is contained in:
Łukasz Magiera 2019-07-16 18:07:08 +02:00
parent d30d9a30bc
commit 0fa47c6dfa
5 changed files with 11 additions and 8 deletions

View File

@ -2,6 +2,7 @@ package cli
import (
"fmt"
"gopkg.in/urfave/cli.v2"
)

1
go.mod
View File

@ -64,7 +64,6 @@ require (
go4.org v0.0.0-20190313082347-94abd6928b1d // indirect
golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522
google.golang.org/appengine v1.4.0 // indirect
gopkg.in/urfave/cli.v2 v2.0.0-20180128182452-d3ae77c26ac8
launchpad.net/gocheck v0.0.0-20140225173054-000000000087 // indirect
)

View File

@ -2,6 +2,7 @@ package node
import (
"context"
"github.com/filecoin-project/go-lotus/api"
"github.com/filecoin-project/go-lotus/build"
"github.com/filecoin-project/go-lotus/chain"
@ -18,11 +19,11 @@ import (
type API struct {
client.LocalStorage
Host host.Host
Chain *chain.ChainStore
PubSub *pubsub.PubSub
Mpool *chain.MessagePool
Wallet *chain.Wallet
Host host.Host
Chain *chain.ChainStore
PubSub *pubsub.PubSub
Mpool *chain.MessagePool
Wallet *chain.Wallet
}
func (a *API) ChainSubmitBlock(ctx context.Context, blk *chain.BlockMsg) error {

View File

@ -3,10 +3,11 @@ package node
import (
"context"
"errors"
"github.com/ipfs/go-filestore"
"reflect"
"time"
"github.com/ipfs/go-filestore"
"github.com/ipfs/go-datastore"
blockstore "github.com/ipfs/go-ipfs-blockstore"
exchange "github.com/ipfs/go-ipfs-exchange-interface"

View File

@ -3,10 +3,11 @@ package client
import (
"context"
"errors"
"os"
"github.com/filecoin-project/go-lotus/api"
"github.com/ipfs/go-filestore"
"go.uber.org/fx"
"os"
"github.com/ipfs/go-cid"
chunker "github.com/ipfs/go-ipfs-chunker"