solana-labs/solana

`solana stakes <vote pubkey>` should cleanly handle a non-vote pubkey

Open

#8441 opened on Feb 25, 2020

View on GitHub
 (13 comments) (1 reaction) (0 assignees)Rust (12,651 stars) (3,950 forks)batch import
good first issue

Description

solana stakes <identity pubkey> or solana stakes <does not exist pubkey> all silently return nothing.

Lets:

  • If possible make solana stakes <identity pubkey> report the stakes from the corresponding vote account
  • solana stakes <does not exist pubkey> report that the account was not found
  • solana stakes <some other account pubkey> report that the account is invalid

Contributor guide