Trait celestia_types::CommitExt

source ·
pub trait CommitExt {
    // Required method
    fn vote_sign_bytes(
        &self,
        chain_id: &Id,
        signature_idx: usize,
    ) -> Result<Vec<u8>>;
}
Expand description

An extension trait for the Commit to perform additional actions.

Required Methods§

source

fn vote_sign_bytes( &self, chain_id: &Id, signature_idx: usize, ) -> Result<Vec<u8>>

Get the signed Vote from the Commit at the given index.

Implementations on Foreign Types§

source§

impl CommitExt for Commit

source§

fn vote_sign_bytes( &self, chain_id: &Id, signature_idx: usize, ) -> Result<Vec<u8>>

Implementors§