Skip to content

Commit

Permalink
fix: remove type
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Mar 12, 2024
1 parent 8332d61 commit 2aadb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stealth_commitments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2aadb38

Please sign in to comment.