Skip to content

Commit c3193f0

Browse files
committed
fix: missing type
1 parent 53aba8e commit c3193f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/daemon/src/services/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
DbTransaction,
1818
LastSyncedEvent,
1919
Event,
20+
EventTypes,
2021
Context,
2122
EventTxInput,
2223
EventTxOutput,
@@ -102,7 +103,7 @@ export const METADATA_DIFF_EVENT_TYPES = {
102103

103104
const DUPLICATE_TX_ALERT_GRACE_PERIOD = 10; // seconds
104105

105-
export const metadataDiff = async (_context: Context, event: Event) => {
106+
export const metadataDiff = async (_context: Context, event: Extract<Event, { type: EventTypes.FULLNODE_EVENT }>) => {
106107
const fullNodeEvent = event.event as StandardFullNodeEvent;
107108
const {
108109
hash,

0 commit comments

Comments
 (0)