pub fn validator_address(&self) -> Option<account::Id> {
        match self {
            Self::BlockIdFlagCommit {
                validator_address, ..
            } => Some(*validator_address),
            Self::BlockIdFlagNil {
                validator_address, ..
            } => Some(*validator_address),
            _ => None,
        }
    }
/// Get the address of this validator if a vote was received.
Get the address of this validator if a vote was received.
Get the address of this validator if a vote was received .
pub fn validator_address(&self) -> Option<account::Id> {
        match self {
            Self::BlockIdFlagCommit {
                validator_address, ..
            } => Some(*validator_address),
            Self::BlockIdFlagNil {
                validator_address, ..
            } => Some(*validator_address),
            _ => None,
        }
    }
pub fn validator_address ( & self ) -> Option < account :: Id > { match self { Self :: BlockIdFlagCommit { validator_address , .. } => Some ( * validator_address ) , Self :: BlockIdFlagNil { validator_address , .. } => Some ( * validator_address ) , _ => None , } }
Get the address of this validator if a vote was received.
Get the address of this validator if a vote was received .
&self