Merge pull request #5718 from Rennbon/master

fix(multisig): The format of the amount is not correct in msigLockApp…
This commit is contained in:
Łukasz Magiera 2021-03-04 19:20:44 +01:00 committed by GitHub
commit e05dc4ec80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1275,7 +1275,7 @@ var msigLockApproveCmd = &cli.Command{
params, actErr := actors.SerializeParams(&msig2.LockBalanceParams{
StartEpoch: abi.ChainEpoch(start),
UnlockDuration: abi.ChainEpoch(duration),
Amount: abi.NewTokenAmount(amount.Int64()),
Amount: big.Int(amount),
})
if actErr != nil {
@ -1367,7 +1367,7 @@ var msigLockCancelCmd = &cli.Command{
params, actErr := actors.SerializeParams(&msig2.LockBalanceParams{
StartEpoch: abi.ChainEpoch(start),
UnlockDuration: abi.ChainEpoch(duration),
Amount: abi.NewTokenAmount(amount.Int64()),
Amount: big.Int(amount),
})
if actErr != nil {