src/blockchain/watcher.js
/**
   * remove this event if it has yet to start processing
   */
remove this event if it has yet to start processing
remove this event if it has yet to start processing
function removeEvent(event) {
    logger.info(
      `removeEvent called. Block: ${event.blockNumber} log: ${event.logIndex} transactionHash: ${event.transactionHash}`,
    );
    addCreateOrRemoveEventToQueue(app, {
      event,
      remove: true,
    });
  }
function removeEvent ( event ) { logger . info ( ` ${ event . blockNumber } ${ event . logIndex } ${ event . transactionHash } ` , ) ; addCreateOrRemoveEventToQueue ( app , { event , remove : true , } ) ; }
remove this event if it has yet to start processing
remove this event if it has yet to start processing
// during a reorg, the same event can occur in quick succession, so we add everything to a // queue so they are processed synchronously