浏览代码

remove change

0xfirefist 1 年之前
父节点
当前提交
43fc468ea8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fortuna/src/config.rs

+ 1 - 1
fortuna/src/config.rs

@@ -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())
     }