|
|
@ -217,7 +217,7 @@ class TxListener { |
|
|
|
var contracts = this._api.contracts() |
|
|
|
var contracts = this._api.contracts() |
|
|
|
if (!contracts) return cb() |
|
|
|
if (!contracts) return cb() |
|
|
|
var contractName |
|
|
|
var contractName |
|
|
|
if (!tx.to) { |
|
|
|
if (!tx.to || tx.to === '0x0') { // testrpc returns 0x0 in that case
|
|
|
|
// contract creation / resolve using the creation bytes code
|
|
|
|
// contract creation / resolve using the creation bytes code
|
|
|
|
// if web3: we have to call getTransactionReceipt to get the created address
|
|
|
|
// if web3: we have to call getTransactionReceipt to get the created address
|
|
|
|
// if VM: created address already included
|
|
|
|
// if VM: created address already included
|
|
|
|