Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Feb 2, 2024
1 parent 6061b74 commit e006151
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ibc-testkit/src/testapp/ibc/clients/mock/client_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub fn client_type() -> ClientType {
pub struct MockClientState {
pub header: MockHeader,
pub max_clock_drift: Option<Duration>,
pub trusing_period: Option<Duration>,
pub trusting_period: Option<Duration>,
pub frozen: bool,
}

Expand All @@ -48,7 +48,7 @@ impl MockClientState {
Self {
header,
max_clock_drift: None,
trusing_period: None,
trusting_period: None,
frozen: false,
}
}
Expand Down Expand Up @@ -91,7 +91,7 @@ impl TryFrom<RawMockClientState> for MockClientState {
})?
.try_into()?,
max_clock_drift: raw.max_clock_drift.map(duration_gpb_to_ibc),
trusing_period: raw.trusing_period.map(duration_gpb_to_ibc),
trusting_period: raw.trusting_period.map(duration_gpb_to_ibc),
frozen: raw.frozen,
})
}
Expand All @@ -102,7 +102,7 @@ impl From<MockClientState> for RawMockClientState {
RawMockClientState {
header: Some(value.header.into()),
max_clock_drift: value.max_clock_drift.map(duration_ibc_to_gbp),
trusing_period: value.trusing_period.map(duration_ibc_to_gbp),
trusting_period: value.trusting_period.map(duration_ibc_to_gbp),
frozen: value.frozen,
}
}
Expand Down

0 comments on commit e006151

Please sign in to comment.