remove console.logs from timer
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
// timer for tests specific to testrpc
|
// timer for tests specific to testrpc
|
||||||
module.exports = s => {
|
module.exports = s => {
|
||||||
console.log('timer to', s);
|
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
web3.currentProvider.sendAsync({
|
web3.currentProvider.sendAsync({
|
||||||
jsonrpc: '2.0',
|
jsonrpc: '2.0',
|
||||||
@ -8,7 +7,6 @@ module.exports = s => {
|
|||||||
params: [s], // 60 seaconds, may need to be hex, I forget
|
params: [s], // 60 seaconds, may need to be hex, I forget
|
||||||
id: new Date().getTime() // Id of the request; anything works, really
|
id: new Date().getTime() // Id of the request; anything works, really
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
console.log('resolved to', err);
|
|
||||||
if (err) return reject(err);
|
if (err) return reject(err);
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user