Skip to content

Conversation

@Bashmunta
Copy link

Replace strip_prefix("/api") with strip_suffix("/api") in EtherscanVerificationProvider::client() so that when a custom verifier API endpoint like https://host/api is provided, the browser base URL passed to with_url() becomes https://host/. This ensures address_url() and related links are constructed correctly for Blockscout and other non-Etherscan providers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant