Skip to content

Commit

Permalink
Update crates/fuel-core/src/query/message.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx authored Oct 3, 2023
1 parent 01faab2 commit 3b01f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fuel-core/src/query/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ pub fn message_proof<T: MessageProofData + ?Sized>(
// 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,
Expand Down

0 comments on commit 3b01f04

Please sign in to comment.