Skip to content

Commit

Permalink
Update ERC-5564: missing necessary arg in computeStealthKey
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
kassandraoftroy authored Oct 30, 2023
1 parent 7ed1fba commit b0d86bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ERCS/erc-5564.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,15 @@ A recipient MUST be able to compute the private key for a stealth address by cal
/// @notice Computes the stealth private key for a stealth address.
/// @param stealthAddress The expected stealth address.
/// @param ephemeralPubKey The ephemeral public key used to generate the stealth address.
/// @param viewingKey The recipient's viewing private key.
/// @param spendingKey The recipient's spending private key.
/// @return stealthKey The stealth private key corresponding to the stealth address.
/// @dev The stealth address input is not strictly necessary, but it is included so the method
/// can validate that the stealth private key was generated correctly.
function computeStealthKey(
address stealthAddress,
bytes memory ephemeralPubKey,
bytes memory viewingKey,
bytes memory spendingKey
) external view returns (bytes memory);
```
Expand Down

0 comments on commit b0d86bf

Please sign in to comment.