Skip to content

Commit

Permalink
chore(cargo): format the entire codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
aesedepece committed Jun 21, 2024
1 parent 95f97ee commit 4766037
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions node/src/actors/chain_manager/mining.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ use witnet_validations::{
legacy::*,
},
validations::{
block_reward, calculate_liars_and_errors_count_from_tally, dr_transaction_fee, merkle_tree_root,
run_tally, st_transaction_fee, tally_bytes_on_encode_error, update_utxo_diff,
vt_transaction_fee,},
block_reward, calculate_liars_and_errors_count_from_tally, dr_transaction_fee,
merkle_tree_root, run_tally, st_transaction_fee, tally_bytes_on_encode_error,
update_utxo_diff, vt_transaction_fee,
},
};

use crate::{
Expand Down Expand Up @@ -151,7 +152,7 @@ impl ChainManager {

let validator_count = self.chain_state.stakes.validator_count();

// invalid: vrf_hash > target_hash
// invalid: vrf_hash > target_hash
let (target_hash, _probability) = calculate_randpoe_threshold(
total_identities,
mining_bf,
Expand Down

0 comments on commit 4766037

Please sign in to comment.