Skip to content

Commit

Permalink
fix(voyager): correctly query trusted validators (#3654)
Browse files Browse the repository at this point in the history
  • Loading branch information
benluelo authored Jan 30, 2025
2 parents bf5dd9a + ff58711 commit b50c797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions voyager/plugins/client-update/tendermint/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl PluginServer<ModuleCall, ModuleCallback> for Module {
}) => {
let trusted_commit = self
.cometbft_client
.commit(Some(update_from.height().try_into().unwrap()))
.commit(Some(update_from.increment().height().try_into().unwrap()))
.await
.unwrap();

Expand All @@ -186,7 +186,7 @@ impl PluginServer<ModuleCall, ModuleCallback> for Module {

let trusted_validators = self
.cometbft_client
.all_validators(Some(update_from.height().try_into().unwrap()))
.all_validators(Some(update_from.increment().height().try_into().unwrap()))
.await
.unwrap();

Expand Down

0 comments on commit b50c797

Please sign in to comment.