|
|
|
@ -49,7 +49,6 @@ export class TxRunnerWeb3 { |
|
|
|
|
_sendTransaction (sendTx, tx, pass, callback) { |
|
|
|
|
let currentDateTime = new Date(); |
|
|
|
|
const start = currentDateTime.getTime() / 1000 |
|
|
|
|
console.log('start', start) |
|
|
|
|
const cb = (err, resp) => { |
|
|
|
|
if (err) { |
|
|
|
|
return callback(err, resp) |
|
|
|
@ -62,7 +61,6 @@ export class TxRunnerWeb3 { |
|
|
|
|
tx = await tryTillTxAvailable(resp, this.getWeb3()) |
|
|
|
|
currentDateTime = new Date(); |
|
|
|
|
const end = currentDateTime.getTime() / 1000 |
|
|
|
|
console.log('end', end) |
|
|
|
|
console.log('stopwatch', end - start) |
|
|
|
|
resolve({ |
|
|
|
|
receipt, |
|
|
|
|