update $eventInputParametersStringArray
This commit is contained in:
parent
af71b4d081
commit
121c80ffb0
@ -873,7 +873,7 @@ class Contract
|
|||||||
public function getEventLogs($eventName)
|
public function getEventLogs($eventName)
|
||||||
{
|
{
|
||||||
$eventSignature = $this->ethabi->encodeEventSignature($eventName);
|
$eventSignature = $this->ethabi->encodeEventSignature($eventName);
|
||||||
$eventInputParametersStringArray = $this->ethabi->encodeParameters($this->events[$eventName]);
|
$eventInputParametersStringArray = array_column($this->events[$eventName]['inputs'], 'type');
|
||||||
|
|
||||||
$this->eth->getLogs([
|
$this->eth->getLogs([
|
||||||
'topics' => array($eventSignature),
|
'topics' => array($eventSignature),
|
||||||
|
Loading…
Reference in New Issue
Block a user