minor comments

This commit is contained in:
poma 2019-07-18 21:41:18 +03:00
parent c6e1b28a82
commit 69907d6f62
No known key found for this signature in database
GPG Key ID: 530BBEE4AE8C3604
2 changed files with 2 additions and 0 deletions

1
cli.js
View File

@ -1,5 +1,6 @@
#!/usr/bin/env node #!/usr/bin/env node
// Temporary demo client // Temporary demo client
// Works both in browser and node.js
const fs = require('fs') const fs = require('fs')
const assert = require('assert') const assert = require('assert')
const snarkjs = require('snarkjs') const snarkjs = require('snarkjs')

View File

@ -1,3 +1,4 @@
// This module is used only for tests
function send(method, params = []) { function send(method, params = []) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef