* Cli: check current authorities before attempting to change them (#19853)
* Stake-authorize: check account current authority
* Stake-set-lockup: check account current custodian
* Make helper fn pub(crate)
* Vote-authorize: check account current authority
(cherry picked from commit 15144fc923
)
# Conflicts:
# cli/src/vote.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>