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 72046f8 commit e692635Copy full SHA for e692635
crates/verify/src/etherscan/mod.rs
@@ -282,7 +282,7 @@ impl EtherscanVerificationProvider {
282
let api_url = api_url.trim_end_matches('/');
283
let base_url = if !is_etherscan {
284
// If verifier is not Etherscan then set base url as api url without /api suffix.
285
- api_url.strip_prefix("/api").unwrap_or(api_url)
+ api_url.strip_suffix("/api").unwrap_or(api_url)
286
} else {
287
base_url.unwrap_or(api_url)
288
};
0 commit comments