fix: remove type

This commit is contained in:
rymnc
2024-03-12 15:35:15 +05:30
parent 8332d61077
commit 2aadb38b7f

View File

@@ -65,7 +65,7 @@ pub trait StealthAddressOnCurve {
let q_receiver_hashed = Self::hash_to_fr(inputs_receiver.as_bytes());
// Check if retrieved view tag matches the expected view tag
let view_tag: u64 = q_receiver_hashed.as_u64();
let view_tag = q_receiver_hashed.as_u64();
if view_tag == expected_view_tag {
let stealth_private_key = spending_key + q_receiver_hashed;
Some(stealth_private_key)