Merge pull request #4104 from filecoin-project/asr/wallet-fix

Fix wallet list
This commit is contained in:
Łukasz Magiera 2020-09-30 07:41:10 +02:00 committed by GitHub
commit e39c5dc372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"),