From fef5d65c0f8b83a99041d8a324c9d54e00983989 Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 7 Jan 2021 11:22:23 +0800 Subject: [PATCH] Update FIL format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ɓukasz Magiera --- cli/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/send.go b/cli/send.go index 79f6e3699..291a9398e 100644 --- a/cli/send.go +++ b/cli/send.go @@ -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")