Fix wallet list
This commit is contained in:
parent
6025bceaa1
commit
9fe32b7777
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user