From 9fe32b7777af8037e1572ccb84feb639970b049c Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Wed, 30 Sep 2020 01:10:03 -0400 Subject: [PATCH] Fix wallet list --- cli/wallet.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cli/wallet.go b/cli/wallet.go index 0d69673f9..aa5b9bed3 100644 --- a/cli/wallet.go +++ b/cli/wallet.go @@ -89,10 +89,8 @@ var walletList = &cli.Command{ return err } - def, err := api.WalletDefaultAddress(ctx) - if err != nil { - return err - } + // Assume an error means no default key is set + def, _ := api.WalletDefaultAddress(ctx) tw := tablewriter.New( tablewriter.Col("Address"),