From b0d86bf7c81fb395d2178c02e1d3f105c7d305d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=BA=CE=B1=CF=83=CF=83=CE=AC=CE=BD=CE=B4=CF=81=CE=B1=2Ee?= =?UTF-8?q?th?= <0xDADA@protonmail.com> Date: Mon, 30 Oct 2023 15:02:35 +0100 Subject: [PATCH] Update ERC-5564: missing necessary arg in computeStealthKey Merged by EIP-Bot. --- ERCS/erc-5564.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ERCS/erc-5564.md b/ERCS/erc-5564.md index f01ff65a04..bb1a82f433 100644 --- a/ERCS/erc-5564.md +++ b/ERCS/erc-5564.md @@ -72,6 +72,7 @@ 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 @@ -79,6 +80,7 @@ A recipient MUST be able to compute the private key for a stealth address by cal function computeStealthKey( address stealthAddress, bytes memory ephemeralPubKey, + bytes memory viewingKey, bytes memory spendingKey ) external view returns (bytes memory); ```