From 6354a8ce03de3529ba359680b12f75abb3012261 Mon Sep 17 00:00:00 2001 From: "Jiarui.Huang" Date: Thu, 16 Jan 2020 01:30:01 +0800 Subject: [PATCH] So we should pass a bit more than the minimum collateral at the time of miner creation Even 0.1% more would be enough# Please enter the commit message for your changes. Lines starting --- cmd/lotus-storage-miner/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-storage-miner/init.go b/cmd/lotus-storage-miner/init.go index b5bf0c6dc..d3ec0deeb 100644 --- a/cmd/lotus-storage-miner/init.go +++ b/cmd/lotus-storage-miner/init.go @@ -556,7 +556,7 @@ func createStorageMiner(ctx context.Context, api lapi.FullNode, peerid peer.ID, createStorageMinerMsg := &types.Message{ To: actors.StoragePowerAddress, From: owner, - Value: collateral, + Value: types.BigAdd(collateral, types.BigDiv(collateral, types.NewInt(100))), Method: actors.SPAMethods.CreateStorageMiner, Params: params,