Skip to content

Commit

Permalink
Tweak comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Feb 11, 2024
1 parent 73a4fb2 commit ecb433c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/SpokeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export async function findFillBlock(
`Origin & destination chain IDs must not be equal (${destinationChainId})`
);

// Make sure the relay is 100% completed within the block range supplied by the caller.
// Make sure the relay war completed within the block range supplied by the caller.
const [initialFillStatus, finalFillStatus] = (
await Promise.all([
relayFillStatus(spokePool, relayData, lowBlockNumber, destinationChainId),
Expand All @@ -309,7 +309,7 @@ export async function findFillBlock(
return undefined; // Wasn't filled within the specified block range.
}

// Was filled earlier than the specified lowBlock.. This is an error by the caller.
// Was filled earlier than the specified lowBlock. This is an error by the caller.
if (initialFillStatus === FillStatus.Filled) {
const { depositId, originChainId } = relayData;
const [srcChain, dstChain] = [getNetworkName(originChainId), getNetworkName(destinationChainId)];
Expand Down

0 comments on commit ecb433c

Please sign in to comment.