Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed May 13, 2024
1 parent 148cbfa commit f1c8b2c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions clients/sov-celestia/src/client_state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ impl TryFrom<WasmClientState> for ClientState {
description: format!("Expected Any: {err}"),
})?;

Ok(Self::wasm(
any_data.try_into()?,
value.checksum,
value.latest_height,
))
let state = any_data.try_into()?;

// note: state.latest_height_in_sov() and value.latest_height should be equal.

Ok(Self::wasm(state, value.checksum, value.latest_height))
}
}

Expand Down

0 comments on commit f1c8b2c

Please sign in to comment.