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,