Skip to content

Commit

Permalink
Update artifacts.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kilavvy authored and kanej committed Jan 9, 2025
1 parent 571b9e8 commit 289cf86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hardhat-truffle5/src/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class TruffleEnvironmentArtifacts {
if (library !== undefined) {
const firstLinkData = linksData[0];

// link data is exressed in bytes, but the bytecode is hex encoded, so we
// link data is expressed in bytes, but the bytecode is hex encoded, so we
// need to multiply everything by 2.
const linkPlaceholder = destinationArtifact.bytecode.substr(
firstLinkData.start * 2 + 2, // The + 2 is because of the 0x prefix
Expand Down

0 comments on commit 289cf86

Please sign in to comment.