add fullnodeApi to StorageProvider

This commit is contained in:
Anton Evangelatov 2022-02-02 10:51:53 +01:00
parent ad348c8e2f
commit db5e4da268

View File

@ -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,
)
}