fix gas limit in create storage miner call

This commit is contained in:
whyrusleeping 2019-08-19 11:06:39 -07:00
parent 2c5d7e733b
commit 5920537bc5

View File

@ -216,15 +216,16 @@ func createStorageMiner(ctx context.Context, api api.FullNode, peerid peer.ID) (
}
createStorageMinerMsg := types.Message{
To: actors.StorageMarketAddress,
From: defOwner,
To: actors.StorageMarketAddress,
From: defOwner,
Nonce: nonce,
Value: collateral,
Method: actors.SMAMethods.CreateStorageMiner,
Params: params,
GasLimit: types.NewInt(10000),
GasPrice: types.NewInt(0),
}
unsigned, err := createStorageMinerMsg.Serialize()