Skip to content

Commit 6e06d15

Browse files
authored
chore: fix comment for lib/utils/tokens.ts (#290)
1 parent abc46ee commit 6e06d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/tokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export const throwIfSpamAirdrop = async (_contract: Contract, events: TokenEvent
261261
const approvalTransactions = events.filter(isApprovalTokenEvent).map((event) => event.time.transactionHash);
262262

263263
// If the transfers and approvals occur in the same transaction, it's a spam transaction
264-
// Note that we only check if that is the case fo *all* events to prevent false positives at the cost of false negatives
264+
// Note that we only check if that is the case for *all* events to prevent false positives at the cost of false negatives
265265
if (
266266
transferTransactions.length > 0 &&
267267
transferTransactions.every((transaction) => approvalTransactions.includes(transaction))

0 commit comments

Comments
 (0)