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
+6 -5
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 {
+2 -1
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"
+2 -1
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"