From 32cc5cda31092b265b531dd263fa9d9f82c00065 Mon Sep 17 00:00:00 2001 From: Web3 Philosopher Date: Mon, 24 Apr 2023 10:54:21 +0100 Subject: [PATCH] store latest commitment height (#33) * store latest commitment height * clippy --- src/handlers/consensus.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/handlers/consensus.rs b/src/handlers/consensus.rs index 6a920645e..538aa4f44 100644 --- a/src/handlers/consensus.rs +++ b/src/handlers/consensus.rs @@ -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())?;