Skip to content

Commit

Permalink
Merge pull request #5718 from Rennbon/master
Browse files Browse the repository at this point in the history
fix(multisig): The format of the amount is not correct in msigLockApp…
  • Loading branch information
magik6k committed Mar 4, 2021
2 parents 448813d + 10076d5 commit e05dc4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/multisig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit e05dc4e

Please sign in to comment.