update variable name for consistency
This commit is contained in:
parent
486d849897
commit
665b15b261
@ -102,15 +102,15 @@ class Ethabi
|
|||||||
* encodeEventSignature
|
* encodeEventSignature
|
||||||
* TODO: Fix same event name with different params
|
* TODO: Fix same event name with different params
|
||||||
*
|
*
|
||||||
* @param string|stdClass|array $functionName
|
* @param string|stdClass|array $eventName
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function encodeEventSignature($functionName)
|
public function encodeEventSignature($eventName)
|
||||||
{
|
{
|
||||||
if (!is_string($functionName)) {
|
if (!is_string($eventName)) {
|
||||||
$functionName = Utils::jsonMethodToString($functionName);
|
$eventName = Utils::jsonMethodToString($eventName);
|
||||||
}
|
}
|
||||||
return Utils::sha3($functionName);
|
return Utils::sha3($eventName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user