We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53aba8e commit c3193f0Copy full SHA for c3193f0
packages/daemon/src/services/index.ts
@@ -17,6 +17,7 @@ import {
17
DbTransaction,
18
LastSyncedEvent,
19
Event,
20
+ EventTypes,
21
Context,
22
EventTxInput,
23
EventTxOutput,
@@ -102,7 +103,7 @@ export const METADATA_DIFF_EVENT_TYPES = {
102
103
104
const DUPLICATE_TX_ALERT_GRACE_PERIOD = 10; // seconds
105
-export const metadataDiff = async (_context: Context, event: Event) => {
106
+export const metadataDiff = async (_context: Context, event: Extract<Event, { type: EventTypes.FULLNODE_EVENT }>) => {
107
const fullNodeEvent = event.event as StandardFullNodeEvent;
108
const {
109
hash,
0 commit comments