Skip to content

Commit

Permalink
Clarified comment
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrylR committed Dec 15, 2023
1 parent 0e49c51 commit b4b6c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/storage/ArtifactProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ArtifactProcessor {
ArtifactStorage.set(name, contract);

// Forcing the overwriting of the existing bytecode value in the Artifacts storage is necessary to prevent
// failure in edge cases, such as with internal libraries
// failure in edge cases, such as with internal libraries or disabled bytecode metadata hash generation.
ArtifactStorage.set(bytecodeHash(artifact.bytecode), contract, artifact.abi.length === 0);
}
}
Expand Down

0 comments on commit b4b6c29

Please sign in to comment.