diff --git a/server.ts b/server.ts index 39fbd94f12d747954731fe8e197b8a1501d9f6f8..581ac19b15abe6e250c6e76ab05969d03bdd82c7 100644 --- a/server.ts +++ b/server.ts @@ -191,7 +191,6 @@ export class Server extends stream.Duplex implements HookableServer { this.BlockchainService .pipe(es.mapSync((e:any) => { if (e.bcEvent === OtherConstants.BC_EVENT.HEAD_CHANGED || e.bcEvent === OtherConstants.BC_EVENT.SWITCHED) { - this.emitDocument(e.block, DuniterDocument.ENTITY_BLOCK) this.emit('bcEvent', e) } this.streamPush(e)