proto: add a comment for Validator#Address (#5144)

Refs #3732
This commit is contained in:
Anton Kaliaev
2020-07-28 16:04:44 +04:00
committed by GitHub
parent cf84dcd44c
commit a29fd7c699
2 changed files with 4 additions and 2 deletions

View File

@@ -332,9 +332,9 @@ message TxResult {
// Validator
message Validator {
bytes address = 1;
bytes address = 1; // The first 20 bytes of SHA256(public key)
// PubKey pub_key = 2 [(gogoproto.nullable)=false];
int64 power = 3;
int64 power = 3; // The voting power
}
// ValidatorUpdate