Skip to content

Commit

Permalink
core: Rename view owns fn vars inline with secret owns fn
Browse files Browse the repository at this point in the history
  • Loading branch information
HDauven committed Jun 17, 2024
1 parent 475cfab commit 7366a1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/keys/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ impl ViewKey {
let sa = note.stealth_address();

let aR = sa.R() * self.a();
let aR = hash(&aR);
let aR = GENERATOR_EXTENDED * aR;
let note_pk = aR + self.B();
let hash_aR = hash(&aR);
let hash_aR_G = GENERATOR_EXTENDED * hash_aR;
let note_pk = hash_aR_G + self.B();

sa.note_pk().as_ref() == &note_pk
}
Expand Down

0 comments on commit 7366a1e

Please sign in to comment.