solana-labs/solana

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

Aperta

#8441 aperta il 25 feb 2020

 (13 commenti) (1 reazione) (0 assegnatari)Rust (3950 fork)batch import
good first issue

Metriche repository

Star
 (12.651 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor