Merge pull request #1088 from jiaruihuang/master

a bit more than the minimum collateral at the time of miner creation
This commit is contained in:
Jakub Sztandera 2020-01-15 18:53:34 +01:00 committed by GitHub
commit c47e96ca45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,