Fix erroneous change related to max_transfers

This commit is contained in:
Paul Hauner 2019-05-23 23:28:03 +10:00
parent 5ed3c8bec3
commit cc916e25fd
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF

View File

@ -469,7 +469,7 @@ pub fn process_transfers<T: EthSpec>(
spec: &ChainSpec,
) -> Result<(), Error> {
verify!(
transfers.len() as u64 >= spec.max_transfers,
transfers.len() as u64 <= spec.max_transfers,
Invalid::MaxTransfersExceed
);