diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js index d600b906a1..d680284b5b 100644 --- a/src/app/execution/txLogger.js +++ b/src/app/execution/txLogger.js @@ -1,5 +1,9 @@ 'use strict' +/** + * This just export a function that register to `newTransaction` and forward them to the logger. + * + */ module.exports = (opts = {}) => { opts.events.txListener.register('newTransaction', (tx) => { log(tx, opts.api)