parseLog: no logs if call

pull/1/head
yann300 7 years ago
parent 5ad8e1825c
commit 0f0c4eaf13
  1. 1
      src/app/execution/eventsDecoder.js

@ -18,6 +18,7 @@ class EventsDecoder {
* @param {Function} cb - callback
*/
parseLogs (tx, contractName, compiledContracts, cb) {
if (tx.isCall) return cb(null, [])
this._api.resolveReceipt(tx, (error, receipt) => {
if (error) cb(error)
this._decodeLogs(tx, receipt, contractName, compiledContracts, cb)

Loading…
Cancel
Save