From 3b01f041c2c0e74e90d525ca13a90a0949c99761 Mon Sep 17 00:00:00 2001 From: Green Baneling Date: Tue, 3 Oct 2023 09:45:37 +0100 Subject: [PATCH] Update crates/fuel-core/src/query/message.rs --- crates/fuel-core/src/query/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fuel-core/src/query/message.rs b/crates/fuel-core/src/query/message.rs index c3e19271a5a..c5f3d0cfaa8 100644 --- a/crates/fuel-core/src/query/message.rs +++ b/crates/fuel-core/src/query/message.rs @@ -210,7 +210,7 @@ pub fn message_proof( // Cannot look beyond the genesis block return Ok(None) } - let verifiable_commit_block_height = block_heigth - 1u32.into(); + let verifiable_commit_block_height = block_height - 1u32.into(); let block_proof = database.block_history_proof( message_block_header.height(), &verifiable_commit_block_height,