code style

This commit is contained in:
poma 2019-07-16 20:20:16 +03:00
parent aa2615e936
commit a7fedcd7ea
2 changed files with 94 additions and 94 deletions

View file

@ -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)