Fix doc comment for default address generation.

This commit is contained in:
Kris Nuttycombe 2021-10-15 09:40:37 -06:00 committed by Kris Nuttycombe
parent 86d4affe73
commit 48340a4846
1 changed files with 1 additions and 3 deletions

View File

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