Update cli/info.go

Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
Phi-rjan 2022-09-02 15:12:32 +02:00 committed by GitHub
parent 818153a1e7
commit a31b8a1b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,11 +74,10 @@ func infoCmdAct(cctx *cli.Context) error {
return err return err
} }
fmt.Printf(" %s [%s]\n", addr.String(), types.FIL(balance).Short()) fmt.Printf(" %s [%s]\n", addr.String(), types.FIL(balance).Short())
fmt.Println()
} else { } else {
fmt.Printf("Default address: address not set\n") fmt.Printf("Default address: address not set\n")
fmt.Println()
} }
fmt.Println()
addrs, err := fullapi.WalletList(ctx) addrs, err := fullapi.WalletList(ctx)
if err != nil { if err != nil {