(&self, index: u32)
| 395 | } |
| 396 | |
| 397 | pub fn is_valid_index(&self, index: u32) -> bool { |
| 398 | if self.is_wildcard { |
| 399 | // non-hardended derivation only |
| 400 | index & (1 << 31) == 0 |
| 401 | } else { |
| 402 | index == 0 |
| 403 | } |
| 404 | } |
| 405 | |
| 406 | pub fn find_gap(&self, store: &MemoryStore) -> Option<usize> { |
| 407 | // return None if this wallet has no history at all |
no outgoing calls
no test coverage detected