update $eventInputParametersStringArray

This commit is contained in:
Nanolucas 2021-01-02 20:39:32 +01:00
parent af71b4d081
commit 121c80ffb0

View File

@ -873,7 +873,7 @@ class Contract
public function getEventLogs($eventName)
{
$eventSignature = $this->ethabi->encodeEventSignature($eventName);
$eventInputParametersStringArray = $this->ethabi->encodeParameters($this->events[$eventName]);
$eventInputParametersStringArray = array_column($this->events[$eventName]['inputs'], 'type');
$this->eth->getLogs([
'topics' => array($eventSignature),