diff --git a/crates/verify/src/etherscan/mod.rs b/crates/verify/src/etherscan/mod.rs index 91a21aa72d06e..2d9b465c00b85 100644 --- a/crates/verify/src/etherscan/mod.rs +++ b/crates/verify/src/etherscan/mod.rs @@ -172,7 +172,9 @@ impl VerificationProvider for EtherscanVerificationProvider { resp.result ); - if resp.result == "Pending in queue" { + if resp.result == "Pending in queue" + || resp.result.starts_with("Error: contract does not exist") + { return Err(RetryError::Retry(eyre!("Verification is still pending..."))); }