diff --git a/src/dataworker/Dataworker.ts b/src/dataworker/Dataworker.ts index 70fcdacc26..ad3af292c6 100644 --- a/src/dataworker/Dataworker.ts +++ b/src/dataworker/Dataworker.ts @@ -2751,7 +2751,7 @@ export class Dataworker { // If the SpokePool supports withdrawing tokens to Hub via OFT, estimate msg.value needed to cover OFT fee const oftMsgValuePortion = await this._getOftMsgValueForRelayerRefundLeaf(client, leaf); - // Currently, msg.value behavior in OFT-supporting Spokes is such that they can't hanlde msg.value being used for + // Currently, msg.value behavior in OFT-supporting Spokes is such that they can't handle msg.value being used for // different cases. If both msg value contributions are above 0, we have a bug. Throw if (lineaMsgValuePortion.gt(0) && oftMsgValuePortion.gt(0)) { throw new Error("Invalid configuration: OFT messenger set on Linea chain for relayer refund leaf execution"); @@ -2783,7 +2783,7 @@ export class Dataworker { } // Construct a message that SpokePool will be using to withdraw via OFT to mainnet. Use `.quoteSend` to estimate - // required native fee, and send that X 2 as msg.value to cover the transfer fees even in the face of fee chainging + // required native fee, and send that X 2 as msg.value to cover the transfer fees even in the face of fee changing // slightly. Excess fee will get refunded to executor const IOFTContract = new Contract(associatedOftMessenger, IOFT_ABI_FULL, client.spokePool.provider); const dstEid = OFT.getEndpointId(this.clients.hubPoolClient.chainId);