From 83e6588704abaa95c4fa18375789f82af9c87a3c Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Sun, 26 Dec 2021 22:56:00 +0200 Subject: [PATCH] chore: cargo fmt --- ethers-etherscan/src/lib.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ethers-etherscan/src/lib.rs b/ethers-etherscan/src/lib.rs index f7ba4be5..ab075a93 100644 --- a/ethers-etherscan/src/lib.rs +++ b/ethers-etherscan/src/lib.rs @@ -83,13 +83,13 @@ impl Client { let api_key = match chain { Chain::Avalanche | Chain::AvalancheFuji => std::env::var("SNOWTRACE_API_KEY")?, Chain::Polygon | Chain::PolygonMumbai => std::env::var("POLYGONSCAN_API_KEY")?, - Chain::Mainnet - | Chain::Ropsten - | Chain::Kovan - | Chain::Rinkeby - | Chain::Goerli - | Chain::Optimism - | Chain::OptimismKovan => std::env::var("ETHERSCAN_API_KEY")?, + Chain::Mainnet | + Chain::Ropsten | + Chain::Kovan | + Chain::Rinkeby | + Chain::Goerli | + Chain::Optimism | + Chain::OptimismKovan => std::env::var("ETHERSCAN_API_KEY")?, Chain::XDai | Chain::Sepolia => String::default(), Chain::Moonbeam | Chain::MoonbeamDev | Chain::Moonriver => {