From 69907d6f62eb9e30d6957890c42114012a7a5141 Mon Sep 17 00:00:00 2001 From: poma Date: Thu, 18 Jul 2019 21:41:18 +0300 Subject: [PATCH] minor comments --- cli.js | 1 + lib/ganacheHelper.js | 1 + 2 files changed, 2 insertions(+) diff --git a/cli.js b/cli.js index c5802d9..ba97590 100755 --- a/cli.js +++ b/cli.js @@ -1,5 +1,6 @@ #!/usr/bin/env node // Temporary demo client +// Works both in browser and node.js const fs = require('fs') const assert = require('assert') const snarkjs = require('snarkjs') diff --git a/lib/ganacheHelper.js b/lib/ganacheHelper.js index 8ad1906..56680f2 100644 --- a/lib/ganacheHelper.js +++ b/lib/ganacheHelper.js @@ -1,3 +1,4 @@ +// This module is used only for tests function send(method, params = []) { return new Promise((resolve, reject) => { // eslint-disable-next-line no-undef