Skip to content

Commit

Permalink
f feat
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommytrg committed Oct 16, 2023
1 parent c0cf0b3 commit c2dce0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions validations/src/validations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ use witnet_rad::{
types::{serial_iter_decode, RadonTypes},
};


// TODO: move to a configuration
const MAX_STAKE_BLOCK_WEIGHT: u32 = 10_000_000;
const MIN_STAKE_NANOWITS: u64 = 10_000_000_000_000;
Expand Down Expand Up @@ -1750,7 +1749,6 @@ pub fn validate_block_transactions(
let mut st_mt = ProgressiveMerkleTree::sha256();
let mut st_weight: u32 = 0;


// Check if the block contains more than one stake tx from the same operator
for i in 1..block.txns.stake_txns.len() {
let found = block.txns.stake_txns[i..].iter().find(|stake_tx| {
Expand Down

0 comments on commit c2dce0e

Please sign in to comment.