Skip to content

Commit

Permalink
Fix: tracking onchain signatures condition
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Nov 23, 2023
1 parent 0d20217 commit d06ff30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const ReviewSignMessageOnChain = ({ message, method, requestId }: SignMessageOnC
if (!safeTx || !onboard) return

// Track the creation of a typed message
if (isTypedMessage && safeTx.signatures.size === 1) {
if (isTypedMessage && safeTx.signatures.size === 0) {
trackEvent({ ...TX_EVENTS.CREATE, label: TX_TYPES.typed_message })
}

Expand Down

1 comment on commit d06ff30

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 75.96% 10020/13191
🔴 Branches 50.12% 2040/4070
🔴 Functions 58.76% 1496/2546
🟡 Lines 77.53% 9055/11679

Test suite run success

1098 tests passing in 154 suites.

Report generated by 🧪jest coverage report action from d06ff30

Please sign in to comment.