From df073c09f79577a8fea28e284f39ce365519c14c Mon Sep 17 00:00:00 2001 From: fekt Date: Mon, 26 Feb 2024 23:19:29 -0500 Subject: [PATCH] Update Note.hpp --- src/zcash/Note.hpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/zcash/Note.hpp b/src/zcash/Note.hpp index c518fb61d..ecdc012ff 100644 --- a/src/zcash/Note.hpp +++ b/src/zcash/Note.hpp @@ -85,19 +85,17 @@ public: const uint256 &cmu ); - static boost::optional plaintext_checks_without_height( + static std::optional plaintext_checks_without_height( const SaplingNotePlaintext &plaintext, + const uint256 &ivk, const uint256 &epk, - const uint256 &esk, - const uint256 &pk_d, const uint256 &cmu ); - static boost::optional attempt_sapling_enc_decryption_deserialization( + static std::optional attempt_sapling_enc_decryption_deserialization( const SaplingEncCiphertext &ciphertext, - const uint256 &epk, - const uint256 &esk, - const uint256 &pk_d + const uint256 &ivk, + const uint256 &epk ); boost::optional note(const SaplingIncomingViewingKey& ivk) const;