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 b777224 commit cb819bbCopy full SHA for cb819bb
apps/contract-verification/src/app/Verifiers/BlockscoutVerifier.ts
@@ -38,7 +38,7 @@ export class BlockscoutVerifier extends EtherscanVerifier {
38
const result: SourceFile[] = []
39
const filePrefix = `/${this.LOOKUP_STORE_DIR}/${chainId}/${contractAddress}`
40
41
- const targetFilePath = `${filePrefix}/${blockscoutSource.FileName.startsWith('..') ? blockscoutSource.FileName.replace(/..\//g, '') : blockscoutSource.FileName}`
+ const targetFilePath = `${filePrefix}/${blockscoutSource.FileName.startsWith('..') ? '' : blockscoutSource.FileName}`
42
result.push({ content: blockscoutSource.SourceCode, path: targetFilePath })
43
44
for (const additional of blockscoutSource.AdditionalSources ?? []) {
0 commit comments