From 48340a484611e4db2c97bc5e4e7ca12b3087ca31 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Fri, 15 Oct 2021 09:40:37 -0600 Subject: [PATCH] Fix doc comment for default address generation. --- zcash_primitives/src/zip32.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zcash_primitives/src/zip32.rs b/zcash_primitives/src/zip32.rs index 247387330..873ff8d25 100644 --- a/zcash_primitives/src/zip32.rs +++ b/zcash_primitives/src/zip32.rs @@ -353,9 +353,7 @@ impl ExtendedSpendingKey { } /// Returns the address with the lowest valid diversifier index, along with - /// the diversifier index that generated that address. Returns `None` with - /// negligible frequency; a `None` result here indicates that no valid - /// addresses could be generated. + /// the diversifier index that generated that address. pub fn default_address(&self) -> (DiversifierIndex, PaymentAddress) { ExtendedFullViewingKey::from(self).default_address() }