Commit 96bc02e3 authored by yann300's avatar yann300

add comments

parent ff6aa80d
'use strict' 'use strict'
/**
* This just export a function that register to `newTransaction` and forward them to the logger.
*
*/
module.exports = (opts = {}) => { module.exports = (opts = {}) => {
opts.events.txListener.register('newTransaction', (tx) => { opts.events.txListener.register('newTransaction', (tx) => {
log(tx, opts.api) log(tx, opts.api)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment