fix test rpc compatibility

pull/1/head
yann300 7 years ago
parent 4d510b2d51
commit 3b8ddfc205
  1. 2
      src/app/execution/txListener.js

@ -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

Loading…
Cancel
Save