Merge pull request #1092 from filecoin-project/feat/fountain-additional-pledge-collateral

Add more collateral to CreateStorageMiner call in fountain
This commit is contained in:
Jakub Sztandera
2020-01-16 02:32:12 +01:00
committed by GitHub
+1 -1
View File
@@ -275,7 +275,7 @@ func (h *handler) mkminer(w http.ResponseWriter, r *http.Request) {
createStorageMinerMsg := &types.Message{
To: actors.StoragePowerAddress,
From: h.from,
Value: collateral,
Value: types.BigAdd(collateral, types.BigDiv(collateral, types.NewInt(100))),
Method: actors.SPAMethods.CreateStorageMiner,
Params: params,