Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/verify/src/etherscan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ impl EtherscanVerificationProvider {
let api_url = api_url.trim_end_matches('/');
let base_url = if !is_etherscan {
// If verifier is not Etherscan then set base url as api url without /api suffix.
api_url.strip_prefix("/api").unwrap_or(api_url)
api_url.strip_suffix("/api").unwrap_or(api_url)
} else {
base_url.unwrap_or(api_url)
};
Expand Down
Loading