Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if validator pubkey is nil before setting it (sei-protocol#137)
## Describe your changes and provide context `seid status` fails for non-validator nodes. It turns out that the check for `ValidatorInfo.Pubkey` here https://github.com/cosmos/cosmos-sdk/blob/main/client/rpc/status.go#L52 isn't in our branch, which causes it to fail with a nil pointer. ## Testing performed to validate your change Verified and tested on rpc node: ``` /home/ubuntu/sei-chain# seid status | jq { "NodeInfo": { "protocol_version": { "p2p": "8", "block": "11", ... ```
- Loading branch information