Skip to content

Commit

Permalink
Fix rename merkle root to txs_commitment
Browse files Browse the repository at this point in the history
  • Loading branch information
kpp committed Mar 29, 2024
1 parent 9430045 commit b165dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bitcoin-da/src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ impl DaVerifier for BitcoinVerifier {
return Err(ValidationError::NonRelevantTxInProof);
}

let tx_root = block_header.txs_commitment().to_raw_hash().to_byte_array();
let tx_root = block_header.merkle_root().to_raw_hash().to_byte_array();

// Inclusion proof is all the txs in the block.
let tx_hashes = inclusion_proof
Expand Down

0 comments on commit b165dd2

Please sign in to comment.