mirror of https://github.com/zcash/orchard.git
Fix a clippy lint.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
b988d4c275
commit
786d285987
|
@ -628,7 +628,7 @@ impl KeyAgreementPrivateKey {
|
|||
|
||||
/// Returns the payment address for this key corresponding to the given diversifier.
|
||||
fn address(&self, d: Diversifier) -> Address {
|
||||
let prepared_ivk = PreparedIncomingViewingKey::new_inner(&self);
|
||||
let prepared_ivk = PreparedIncomingViewingKey::new_inner(self);
|
||||
let pk_d = DiversifiedTransmissionKey::derive(&prepared_ivk, &d);
|
||||
Address::from_parts(d, pk_d)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue