workers: Address review

This commit is contained in:
Łukasz Magiera
2020-03-24 19:01:04 +01:00
parent 8559c89560
commit 726c9c1fe7
11 changed files with 48 additions and 23 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ func (sm *StorageMinerAPI) MarketListIncompleteDeals(ctx context.Context) ([]sto
return sm.StorageProvider.ListIncompleteDeals()
}
func (sm *StorageMinerAPI) SetPrice(ctx context.Context, p types.BigInt) error {
func (sm *StorageMinerAPI) MarketSetPrice(ctx context.Context, p types.BigInt) error {
return sm.StorageProvider.AddAsk(abi.TokenAmount(p), 60*60*24*100) // lasts for 100 days?
}