pull/7/head
yann300 7 years ago
parent 8f4ad5e987
commit 84ca456997
  1. 2
      remix-lib/src/execution/eventsDecoder.js

@ -76,7 +76,7 @@ class EventsDecoder {
var topics = log.topics.map((value) => {
return value.indexOf('0x') === 0 ? value : '0x' + value
})
events.push({ topic: topicId, event: abi.event, args: abi.object.parse(topics, '0x' + log.data) })
events.push({ topic: topicId, event: abi.event, args: abi.object.parse(topics, '0x' + log.data) })
} else {
events.push({ data: log.data, topics: log.topics })
}

Loading…
Cancel
Save