|
|
|
@ -873,9 +873,7 @@ function run () { |
|
|
|
|
|
|
|
|
|
txlistener.startListening() |
|
|
|
|
|
|
|
|
|
txlistener.event.register('newBlock', (block) => { |
|
|
|
|
for (var t in block.transactions) { |
|
|
|
|
var tx = block.transactions[t] |
|
|
|
|
txlistener.event.register('newTransaction', (tx) => { |
|
|
|
|
var resolvedTransaction = txlistener.resolvedTransaction(tx.hash) |
|
|
|
|
var address = null |
|
|
|
|
if (resolvedTransaction) { |
|
|
|
@ -886,7 +884,6 @@ function run () { |
|
|
|
|
resolvedContract: txlistener.resolvedContract(address), |
|
|
|
|
resolvedTransaction: resolvedTransaction |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
// ----------------- autoCompile -----------------
|
|
|
|
|