Skip to content

Commit

Permalink
feat: added service to machine
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabadesso committed Jan 23, 2025
1 parent 2ff3dd6 commit 2d8f482
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/daemon/src/machines/SyncMachine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
updateLastSyncedEvent,
fetchInitialState,
handleUnvoidedTx,
handleReorgStarted,
} from '../services';
import {
metadataIgnore,
Expand Down Expand Up @@ -302,14 +303,15 @@ export const SyncMachine = Machine<Context, any, Event>({
},
}, {
services: {
fetchInitialState,
handleVertexAccepted,
handleVertexRemoved,
metadataDiff,
handleVoidedTx,
handleTxFirstBlock,
updateLastSyncedEvent,
handleUnvoidedTx,
handleReorgStarted,
fetchInitialState,
metadataDiff,
updateLastSyncedEvent,
},
guards: {
metadataIgnore,
Expand Down

0 comments on commit 2d8f482

Please sign in to comment.