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