Skip to content

Commit

Permalink
rustfmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daira authored May 3, 2021
1 parent 618a616 commit da431a0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zcash_primitives/src/sapling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,7 @@ impl Note {

pub(crate) fn generate_or_derive_esk_internal<R: RngCore>(&self, rng: &mut R) -> jubjub::Fr {
match self.derive_esk() {
None => {
jubjub::Fr::random(rng)
}
None => jubjub::Fr::random(rng),
Some(esk) => esk,
}
}
Expand Down

0 comments on commit da431a0

Please sign in to comment.