Fix Accounts List Show Deposit Data When Coming From Eth2.0 Deposit CLI (#6811)

* amend accounts list when coming from launchpad
* Merge refs/heads/master into fix-accounts-list
* Merge refs/heads/master into fix-accounts-list
* Merge refs/heads/master into fix-accounts-list
* Merge refs/heads/master into fix-accounts-list
* Merge refs/heads/master into fix-accounts-list
This commit is contained in:
Raul Jordan 2020-07-31 17:08:13 -05:00 committed by GitHub
parent 821f2ec029
commit 4dfe02d919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,12 @@ func listDirectKeymanagerAccounts(
}
enc, err := wallet.ReadFileAtPath(ctx, accountNames[i], direct.DepositDataFileName)
if err != nil {
return errors.Wrapf(err, "could not read file for account: %s", direct.DepositDataFileName)
fmt.Printf(
"%s\n",
au.BrightRed("If you imported your account coming from the eth2 launchpad, you will find your "+
"deposit_data.json in the eth2.0-deposit-cli's validator_keys folder"),
)
continue
}
fmt.Printf(
"%s %s\n",