Skip to content

Commit

Permalink
feat(voyager): remove extra block wait when generating updates from u…
Browse files Browse the repository at this point in the history
…nion
  • Loading branch information
benluelo committed Nov 5, 2023
1 parent 2551cbe commit 7c823c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions voyager/voyager-message/src/lightclient_impls/ethereum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ where
[seq([
wait::<L>(
union.chain_id(),
// REVIEW: Should we wait for update_to or update_to.increment()?
WaitForBlock(update_info.update_to.increment()),
// NOTE: There was previously an increment here, but we were unsure why - if there are issues with the updates, it may need to be added back. Please leave a comment explaining why if so!
WaitForBlock(update_info.update_to),
),
RelayerMsg::Aggregate {
queue: [
Expand Down

0 comments on commit 7c823c2

Please sign in to comment.