mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-02-03 06:13:53 +00:00
small fix and comment unstable code
This commit is contained in:
parent
8520b8afb4
commit
bc2c4d872c
@ -210,14 +210,14 @@ exports.increaseTime = async (amount) => {
|
||||
{
|
||||
jsonrpc: '2.0',
|
||||
method: 'evm_increaseTime',
|
||||
params: [amount],
|
||||
params: [+amount],
|
||||
id: new Date().getSeconds()
|
||||
},
|
||||
(error) => {
|
||||
if(error) {
|
||||
console.log(error)
|
||||
} else {
|
||||
web3.currentProvider.sendAsync(
|
||||
/*web3.currentProvider.sendAsync(
|
||||
{
|
||||
jsonrpc: '2.0',
|
||||
method: 'evm_mine',
|
||||
@ -228,7 +228,7 @@ exports.increaseTime = async (amount) => {
|
||||
console.log(error)
|
||||
}
|
||||
}
|
||||
)
|
||||
)*/
|
||||
}
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user