small fix and comment unstable code

This commit is contained in:
Ricardo Guilherme Schmidt 2018-05-15 17:49:01 -03:00
parent 8520b8afb4
commit bc2c4d872c
1 changed files with 3 additions and 3 deletions

View File

@ -210,14 +210,14 @@ exports.increaseTime = async (amount) => {
{ {
jsonrpc: '2.0', jsonrpc: '2.0',
method: 'evm_increaseTime', method: 'evm_increaseTime',
params: [amount], params: [+amount],
id: new Date().getSeconds() id: new Date().getSeconds()
}, },
(error) => { (error) => {
if(error) { if(error) {
console.log(error) console.log(error)
} else { } else {
web3.currentProvider.sendAsync( /*web3.currentProvider.sendAsync(
{ {
jsonrpc: '2.0', jsonrpc: '2.0',
method: 'evm_mine', method: 'evm_mine',
@ -228,7 +228,7 @@ exports.increaseTime = async (amount) => {
console.log(error) console.log(error)
} }
} }
) )*/
} }
} }
) )