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{
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user