From ec9286eb4b5708db0f54b25583f4bc6a9f07b6b7 Mon Sep 17 00:00:00 2001 From: Travis Person Date: Thu, 16 Jan 2020 01:00:01 +0000 Subject: [PATCH] Add more collateral to CreateStorageMiner call in fountain --- cmd/lotus-fountain/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-fountain/main.go b/cmd/lotus-fountain/main.go index 18e61c97c..363ca5111 100644 --- a/cmd/lotus-fountain/main.go +++ b/cmd/lotus-fountain/main.go @@ -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,