Skip to content

Commit 3d60de4

Browse files
committed
fix fmt
1 parent e2f4f11 commit 3d60de4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/config/src/etherscan.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,7 @@ impl ResolvedEtherscanConfig {
330330
}
331331

332332
let api_url = into_url(&api_url)?;
333-
let parsed_api_version = api_version
334-
.map(EtherscanApiVersion::try_from)
335-
.transpose()?;
333+
let parsed_api_version = api_version.map(EtherscanApiVersion::try_from).transpose()?;
336334
let client = reqwest::Client::builder()
337335
.user_agent(ETHERSCAN_USER_AGENT)
338336
.tls_built_in_root_certs(api_url.scheme() == "https")

0 commit comments

Comments
 (0)