Merge pull request #4104 from filecoin-project/asr/wallet-fix
Fix wallet list
This commit is contained in:
commit
e39c5dc372
@ -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