From c2dce0e9a60ad0091e015107db5842fbf4d3620f Mon Sep 17 00:00:00 2001 From: tommytrg Date: Mon, 16 Oct 2023 16:14:25 +0200 Subject: [PATCH] f feat --- validations/src/validations.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/validations/src/validations.rs b/validations/src/validations.rs index 0694807d7..8d02bfa5e 100644 --- a/validations/src/validations.rs +++ b/validations/src/validations.rs @@ -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; @@ -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| {