Skip to content

Commit

Permalink
Update FIL format
Browse files Browse the repository at this point in the history
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
  • Loading branch information
deaswang and magik6k authored Jan 7, 2021
1 parent dbe580d commit fef5d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/send.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ var sendCmd = &cli.Command{
totalCost := types.BigAdd(types.BigMul(msg.GasFeeCap, types.NewInt(uint64(msg.GasLimit))), msg.Value)

if fromBalance.LessThan(totalCost) {
fmt.Printf("From balance %s attoFIL less than total cost %s attoFIL\n", fromBalance, totalCost)
fmt.Printf("From balance %s less than total cost %s\n", types.FIL(fromBalance), types.FIL(totalCost))
if !cctx.Bool("force") {
return fmt.Errorf("--force must be specified for this action to have an effect; " +
"you have been warned")
Expand Down

0 comments on commit fef5d65

Please sign in to comment.