added comment
This commit is contained in:
parent
46dc78e0d6
commit
bb9f9f08e7
@ -928,6 +928,7 @@ class Contract
|
||||
|
||||
//decode the indexed parameter data
|
||||
for ($i = 0; $i < count($eventIndexedParameterNames); $i++) {
|
||||
//topics[0] is the event signature, so we start from $i + 1 for the indexed parameter data
|
||||
$decodedData[$eventIndexedParameterNames[$i]] = $this->ethabi->decodeParameters([$eventIndexedParameterTypes[$i]], $object->topics[$i + 1])[0];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user