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{ createStorageMinerMsg := types.Message{
To: actors.StorageMarketAddress, To: actors.StorageMarketAddress,
From: defOwner, From: defOwner,
Nonce: nonce, Nonce: nonce,
Value: collateral, Value: collateral,
Method: actors.SMAMethods.CreateStorageMiner, Method: actors.SMAMethods.CreateStorageMiner,
Params: params, Params: params,
GasLimit: types.NewInt(10000),
GasPrice: types.NewInt(0),
} }
unsigned, err := createStorageMinerMsg.Serialize() unsigned, err := createStorageMinerMsg.Serialize()