|
|
@ -407,15 +407,14 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
// ----------------- Tx listener -----------------
|
|
|
|
// ----------------- Tx listener -----------------
|
|
|
|
var transactionReceiptResolver = new TransactionReceiptResolver() |
|
|
|
var transactionReceiptResolver = new TransactionReceiptResolver() |
|
|
|
|
|
|
|
|
|
|
|
var compiledContracts = function () { |
|
|
|
var txlistener = new Txlistener({ |
|
|
|
|
|
|
|
api: { |
|
|
|
|
|
|
|
contracts: function () { |
|
|
|
if (self._components.compiler.lastCompilationResult && self._components.compiler.lastCompilationResult.data) { |
|
|
|
if (self._components.compiler.lastCompilationResult && self._components.compiler.lastCompilationResult.data) { |
|
|
|
return self._components.compiler.lastCompilationResult.data.contracts |
|
|
|
return self._components.compiler.lastCompilationResult.data.contracts |
|
|
|
} |
|
|
|
} |
|
|
|
return null |
|
|
|
return null |
|
|
|
} |
|
|
|
}, |
|
|
|
var txlistener = new Txlistener({ |
|
|
|
|
|
|
|
api: { |
|
|
|
|
|
|
|
contracts: compiledContracts, |
|
|
|
|
|
|
|
resolveReceipt: function (tx, cb) { |
|
|
|
resolveReceipt: function (tx, cb) { |
|
|
|
transactionReceiptResolver.resolve(tx, cb) |
|
|
|
transactionReceiptResolver.resolve(tx, cb) |
|
|
|
} |
|
|
|
} |
|
|
|