Update FIL format
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
parent
dbe580de10
commit
fef5d65c0f
@ -156,7 +156,7 @@ var sendCmd = &cli.Command{
|
|||||||
totalCost := types.BigAdd(types.BigMul(msg.GasFeeCap, types.NewInt(uint64(msg.GasLimit))), msg.Value)
|
totalCost := types.BigAdd(types.BigMul(msg.GasFeeCap, types.NewInt(uint64(msg.GasLimit))), msg.Value)
|
||||||
|
|
||||||
if fromBalance.LessThan(totalCost) {
|
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") {
|
if !cctx.Bool("force") {
|
||||||
return fmt.Errorf("--force must be specified for this action to have an effect; " +
|
return fmt.Errorf("--force must be specified for this action to have an effect; " +
|
||||||
"you have been warned")
|
"you have been warned")
|
||||||
|
Loading…
Reference in New Issue
Block a user