From cc916e25fd426110a4df7af2b37a1318ce6cdb44 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Thu, 23 May 2019 23:28:03 +1000 Subject: [PATCH] Fix erroneous change related to max_transfers --- eth2/state_processing/src/per_block_processing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth2/state_processing/src/per_block_processing.rs b/eth2/state_processing/src/per_block_processing.rs index 4c8ce81bc..79a452185 100644 --- a/eth2/state_processing/src/per_block_processing.rs +++ b/eth2/state_processing/src/per_block_processing.rs @@ -469,7 +469,7 @@ pub fn process_transfers( spec: &ChainSpec, ) -> Result<(), Error> { verify!( - transfers.len() as u64 >= spec.max_transfers, + transfers.len() as u64 <= spec.max_transfers, Invalid::MaxTransfersExceed );