Derive an address using the given non-hardended child derivation index. Assumes the index is valid and panics if not. See is_valid_index().
(&self, index: u32)
| 377 | /// Derive an address using the given non-hardended child derivation index. |
| 378 | /// Assumes the index is valid and panics if not. See is_valid_index(). |
| 379 | pub fn derive_address(&self, index: u32) -> Address { |
| 380 | descriptor::derive_address(&self.desc, index, self.network) |
| 381 | .expect("constructed Wallet must have address representation") |
| 382 | } |
| 383 | |
| 384 | pub fn derive_desc(&self, index: u32) -> ExtendedDescriptor { |
| 385 | self.desc.derive(index) |
no test coverage detected