From 289cf869bd8ca89cb7f7318d86fe5a7be05d449a Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:47:33 +0100 Subject: [PATCH] Update artifacts.ts --- packages/hardhat-truffle5/src/artifacts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hardhat-truffle5/src/artifacts.ts b/packages/hardhat-truffle5/src/artifacts.ts index d90f305127..6b1b542799 100644 --- a/packages/hardhat-truffle5/src/artifacts.ts +++ b/packages/hardhat-truffle5/src/artifacts.ts @@ -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