diff --git a/ethers-contract/src/multicall/mod.rs b/ethers-contract/src/multicall/mod.rs index 4f304b1801..8dd2454214 100644 --- a/ethers-contract/src/multicall/mod.rs +++ b/ethers-contract/src/multicall/mod.rs @@ -608,7 +608,7 @@ impl Multicall { /// # } /// ``` pub async fn call(&self) -> Result { - assert!(self.calls.len() < 16, "Cannot decode more than 16 calls"); + assert!(self.calls.len() <= 16, "Cannot decode more than 16 calls"); let tokens = self.call_raw().await?; let tokens = vec![Token::Tuple(tokens)]; let data = D::from_tokens(tokens).map_err(ContractError::DetokenizationError)?;