Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
feat: fix reorg event for staking
Browse files Browse the repository at this point in the history
  • Loading branch information
nduchak committed Sep 8, 2020
1 parent 656d4b6 commit ba16314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/storage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const storage: CachedService = {
})
stakingEventsEmitter.on('newConfirmation', (data) => confirmationService.emit('newConfirmation', data))
stakingEventsEmitter.on('invalidConfirmation', (data) => confirmationService.emit('invalidConfirmation', data))
stakingEventsEmitter.on(REORG_OUT_OF_RANGE_EVENT_NAME, (blockNumber: number) => reorgEmitterService.emitReorg(blockNumber, 'storage'))
stakingEventsEmitter.on(REORG_OUT_OF_RANGE_EVENT_NAME, (blockNumber: number) => reorgEmitterService.emitReorg(blockNumber, 'staking'))

return {
stop: () => {
Expand Down

0 comments on commit ba16314

Please sign in to comment.