Skip to content

Commit

Permalink
update doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 26, 2024
1 parent dda0187 commit b93b3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibc-core/ics02-client/context/src/consensus_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub trait ConsensusState: Send + Sync + ConsensusStateDecoder {
/// The timestamp of the consensus state
fn timestamp(&self) -> Timestamp;

/// Serializes the `ConsensusState`.
/// Protobuf encoded bytes of the [`Any`] formatted [`ConsensusState`].
fn encode_vec(self) -> Vec<u8> {
self.into().to_vec()
}
Expand Down

0 comments on commit b93b3c3

Please sign in to comment.