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',
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user