mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-11 10:45:27 -04:00
code style
This commit is contained in:
parent
aa2615e936
commit
a7fedcd7ea
2 changed files with 94 additions and 94 deletions
|
@ -5,7 +5,7 @@ const app = express()
|
|||
app.use(express.json())
|
||||
|
||||
const Web3 = require('web3')
|
||||
const web3 = new Web3('http://localhost:8545', null, {transactionConfirmationBlocks: 1})
|
||||
const web3 = new Web3('http://localhost:8545', null, { transactionConfirmationBlocks: 1 })
|
||||
const contractJson = require('../build/contracts/Mixer.json')
|
||||
let netId = 42
|
||||
const mixer = new web3.eth.Contract(contractJson.abi, contractJson.networks[netId].address)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue