Skip to content

Commit fe3d87a

Browse files
committed
typos -w
1 parent 5b719ed commit fe3d87a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

consensus/src/block/batch_prepare.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pub async fn batch_prepare_main_chain_blocks<D: Database>(
177177
.into_par_iter()
178178
.zip(difficulties)
179179
.zip(txs)
180-
.map(|((block, difficultly), txs)| {
180+
.map(|((block, difficulty), txs)| {
181181
// Calculate the PoW for the block.
182182
let height = block.height;
183183
let block = PreparedBlock::new_prepped(
@@ -186,7 +186,7 @@ pub async fn batch_prepare_main_chain_blocks<D: Database>(
186186
)?;
187187

188188
// Check the PoW
189-
check_block_pow(&block.pow_hash, difficultly).map_err(ConsensusError::Block)?;
189+
check_block_pow(&block.pow_hash, difficulty).map_err(ConsensusError::Block)?;
190190

191191
let mut txs = start_tx_verification()
192192
.append_txs(txs)

0 commit comments

Comments
 (0)