Skip to content

Commit

Permalink
store latest commitment height (#33)
Browse files Browse the repository at this point in the history
* store latest commitment height

* clippy
  • Loading branch information
seunlanlege authored Apr 24, 2023
1 parent d746baa commit 32cc5cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handlers/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ where
intermediate_state.height,
intermediate_state.commitment,
)?;
host.store_latest_commitment_height(intermediate_state.height)?;
}

host.store_consensus_update_time(message.consensus_client_id, host.timestamp())?;
Expand Down

0 comments on commit 32cc5cd

Please sign in to comment.