Skip to content

Commit 4622ffe

Browse files
Dargon789github-actions[bot]gemini-code-assist[bot]googleworkspace-bot
authored
Hardhat edr rmbt (NomicFoundation#2158)
* Version Packages * Update v-next/hardhat-verify/src/internal/etherscan.ts Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> --------- Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: googleworkspace-bot <googleworkspace-bot@google.com>
1 parent 9c66bf9 commit 4622ffe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v-next/hardhat-verify/src/internal/etherscan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ class EtherscanVerificationStatusResponse
566566
}
567567

568568
public isFailure(): boolean {
569-
return this.message.startsWith("Fail - Unable to verify");
569+
return typeof this.message === "string" && this.message.startsWith("Fail - Unable to verify");
570570
}
571571

572572
public isSuccess(): boolean {

0 commit comments

Comments
 (0)