diff --git a/src/block.rs b/src/block.rs index e38aa49..38a2f23 100644 --- a/src/block.rs +++ b/src/block.rs @@ -227,7 +227,7 @@ pub enum BlockVerificationError { BlockSignatureVerificationFailed { block_hash: BlockHash, error: CryptoError }, } -/// Verifies that the the block header was signed by the expected sequencer. +/// Verifies that the block header was signed by the expected sequencer. pub fn verify_block_signature( sequencer_pub_key: &SequencerPublicKey, signature: &BlockSignature, diff --git a/src/block_hash/block_hash_calculator.rs b/src/block_hash/block_hash_calculator.rs index 72a4bdb..d6d2a5a 100644 --- a/src/block_hash/block_hash_calculator.rs +++ b/src/block_hash/block_hash_calculator.rs @@ -54,7 +54,7 @@ pub struct BlockHeaderCommitments { } /// Poseidon ( -/// “STARKNET_BLOCK_HASH0”, block_number, global_state_root, sequencer_address, +/// "STARKNET_BLOCK_HASH0", block_number, global_state_root, sequencer_address, /// block_timestamp, concat_counts, state_diff_hash, transaction_commitment, /// event_commitment, receipt_commitment, gas_price_wei, gas_price_fri, /// data_gas_price_wei, data_gas_price_fri, starknet_version, 0, parent_block_hash