add fullnodeApi to StorageProvider
This commit is contained in:
parent
ad348c8e2f
commit
db5e4da268
@ -590,6 +590,7 @@ func StorageProvider(minerAddress dtypes.MinerAddress,
|
||||
spn storagemarket.StorageProviderNode,
|
||||
df dtypes.StorageDealFilter,
|
||||
dsw *dagstore.Wrapper,
|
||||
fullnodeApi v1api.FullNode,
|
||||
) (storagemarket.StorageProvider, error) {
|
||||
net := smnet.NewFromLibp2pHost(h)
|
||||
|
||||
@ -620,6 +621,7 @@ func StorageProvider(minerAddress dtypes.MinerAddress,
|
||||
spn,
|
||||
address.Address(minerAddress),
|
||||
storedAsk,
|
||||
fullnodeApi,
|
||||
opt,
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user