Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TropicalDog17 committed Jun 25, 2024
1 parent d15a4dc commit 7a00527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibc-core/ics02-client/types/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ impl From<ConsensusHeightAttribute> for abci::EventAttribute {

impl TryFrom<abci::EventAttribute> for ConsensusHeightAttribute {
type Error = ClientError;

fn try_from(value: abci::EventAttribute) -> Result<Self, Self::Error> {
if let Ok(key_str) = value.key_str() {
if key_str != CONSENSUS_HEIGHT_ATTRIBUTE_KEY {
Expand Down

0 comments on commit 7a00527

Please sign in to comment.