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,
|
spn storagemarket.StorageProviderNode,
|
||||||
df dtypes.StorageDealFilter,
|
df dtypes.StorageDealFilter,
|
||||||
dsw *dagstore.Wrapper,
|
dsw *dagstore.Wrapper,
|
||||||
|
fullnodeApi v1api.FullNode,
|
||||||
) (storagemarket.StorageProvider, error) {
|
) (storagemarket.StorageProvider, error) {
|
||||||
net := smnet.NewFromLibp2pHost(h)
|
net := smnet.NewFromLibp2pHost(h)
|
||||||
|
|
||||||
@ -620,6 +621,7 @@ func StorageProvider(minerAddress dtypes.MinerAddress,
|
|||||||
spn,
|
spn,
|
||||||
address.Address(minerAddress),
|
address.Address(minerAddress),
|
||||||
storedAsk,
|
storedAsk,
|
||||||
|
fullnodeApi,
|
||||||
opt,
|
opt,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user