Skip to content

Commit d5a13dd

Browse files
committed
fix: malicious check
1 parent 732defc commit d5a13dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SafeWatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class SafeWatcher {
120120
const detailed = await this.#fetchDetailed(tx.safeTxHash);
121121

122122
const isMalicious =
123-
MULTISEND_CALL_ONLY.has(detailed.to.toLowerCase() as Address) &&
123+
!MULTISEND_CALL_ONLY.has(detailed.to.toLowerCase() as Address) &&
124124
detailed.operation !== 0;
125125

126126
await this.#notificationSender?.notify({

0 commit comments

Comments
 (0)