src/blockchain/watcher.js
/**
   * Add new events to queue to be process sequentially
   */
Add new events to queue to be process sequentially
Add new events to queue to be process sequentially
function newPendingEvent(event) {
    logger.info(
      `newPendingEvent called. Block: ${event.blockNumber} log: ${event.logIndex} transactionHash: ${event.transactionHash}`,
    );
    addCreateOrRemoveEventToQueue(app, {
      event,
    });
  }
function newPendingEvent ( event ) { logger . info ( ` ${ event . blockNumber } ${ event . logIndex } ${ event . transactionHash } ` , ) ; addCreateOrRemoveEventToQueue ( app , { event , } ) ; }
Add new events to queue to be process sequentially
Add new events to queue to be process sequentially