@@ -117,7 +117,7 @@ impl Config {
pub fn get_chain_config(&self, chain_id: &ChainId) -> Result<EthereumConfig> {
self.chains
.get(chain_id)
- .map(|x: &EthereumConfig| x.clone())
+ .map(|x| x.clone())
.ok_or(anyhow!("Could not find chain id {} in the configuration", &chain_id).into())
}