Fix a clippy lint.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2022-10-18 19:17:15 +01:00
parent b988d4c275
commit 786d285987
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}