api: Separate the Net interface from Common
This commit is contained in:
@@ -39,6 +39,7 @@ import (
|
||||
"github.com/filecoin-project/lotus/markets/storageadapter"
|
||||
"github.com/filecoin-project/lotus/miner"
|
||||
"github.com/filecoin-project/lotus/node/impl/common"
|
||||
"github.com/filecoin-project/lotus/node/impl/net"
|
||||
"github.com/filecoin-project/lotus/node/modules/dtypes"
|
||||
"github.com/filecoin-project/lotus/storage"
|
||||
"github.com/filecoin-project/lotus/storage/sectorblocks"
|
||||
@@ -47,6 +48,7 @@ import (
|
||||
|
||||
type StorageMinerAPI struct {
|
||||
common.CommonAPI
|
||||
net.NetAPI
|
||||
|
||||
Full api.FullNode
|
||||
LocalStore *stores.Local
|
||||
|
||||
Reference in New Issue
Block a user