solana-labs/solana

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

Open

#8,441 opened on Feb 25, 2020

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

Repository metrics

Stars
 (12,651 stars)
PR merge metrics
 (No merged PRs in 30d)

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