mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-12-25 22:39:22 -05:00
minor comments
This commit is contained in:
parent
c6e1b28a82
commit
69907d6f62
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…
Reference in New Issue
Block a user