fix gas limit in create storage miner call
This commit is contained in:
parent
2c5d7e733b
commit
5920537bc5
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user