We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d7b37b commit 4d1df57Copy full SHA for 4d1df57
crates/config/src/lib.rs
@@ -1400,7 +1400,7 @@ impl Config {
1400
/// # }
1401
/// ```
1402
pub fn get_rpc_url(&self) -> Option<Result<Cow<'_, str>, UnresolvedEnvVarError>> {
1403
- let maybe_alias = self.eth_rpc_url.as_ref().or(self.etherscan_api_key.as_ref())?;
+ let maybe_alias = self.eth_rpc_url.as_deref()?;
1404
if let Some(alias) = self.get_rpc_url_with_alias(maybe_alias) {
1405
Some(alias)
1406
} else {
0 commit comments