mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-06 16:25:15 -04:00
minor comments
This commit is contained in:
parent
c6e1b28a82
commit
69907d6f62
2 changed files with 2 additions and 0 deletions
1
cli.js
1
cli.js
|
@ -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')
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue