hashToParent
Hashes two bytes32s together as into a merkle parent.
function hashToParent(bytes32 left, bytes32 right) pure returns (bytes32 parent);
Parameters
| Name | Type | Description |
|---|---|---|
left | bytes32 | The left child to hash. |
right | bytes32 | The right child to hash. |
Returns
| Name | Type | Description |
|---|---|---|
parent | bytes32 | The parent hash. |