Fix erroneous change related to max_transfers
This commit is contained in:
parent
5ed3c8bec3
commit
cc916e25fd
@ -469,7 +469,7 @@ pub fn process_transfers<T: EthSpec>(
|
|||||||
spec: &ChainSpec,
|
spec: &ChainSpec,
|
||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
verify!(
|
verify!(
|
||||||
transfers.len() as u64 >= spec.max_transfers,
|
transfers.len() as u64 <= spec.max_transfers,
|
||||||
Invalid::MaxTransfersExceed
|
Invalid::MaxTransfersExceed
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user