git ssb

0+

dangerousbeans / eth_watcher



Commit f8480d9008c9cbb0c9d002cba1eace79b1b67034

debugging

Joran committed on 5/17/2017, 5:40:47 AM
Parent: 514c9eb0ce91f9e445870872bda792c000dc160b

Files changed

index.jschanged
index.jsView
@@ -5,8 +5,9 @@
55 program
66 .arguments('<contract_address>')
77 .option('-e, --event <event>', 'The event name to watch for')
88 .option('-a, --abi <abi>', 'Path to the ABI definition')
9-.action(function(address) {
10- console.log(console.log(chalk.bold.cyan(`Watching address: ${address}`)))
9 +.action(function(address, event, abi) {
10 + console.log(chalk.bold.cyan(`Watching address: ${address}`))
11 + console.log(chalk.bold.cyan(` for event: ${event}`))
1112 })
1213 .parse(process.argv);

Built with git-ssb-web