Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0Vu committed Jan 19, 2024
1 parent 56f17fc commit ea105fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contracts/TypedDataEncoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ protected function getPrimaryType(array $types)
public function hashEIP712Message(array $messageTypes, array $messageData)
{
$primaryType = $this->getPrimaryType($messageTypes);
return $this->hash_struct($primaryType, $messageTypes, $messageData);
return $this->hashStruct($primaryType, $messageTypes, $messageData);
}

/**
Expand Down

0 comments on commit ea105fc

Please sign in to comment.