(&self)
| 145 | } |
| 146 | |
| 147 | pub fn taproot_scripts_len(&self) -> usize { |
| 148 | self.taproot_spend_info_cached().scripts_length |
| 149 | } |
| 150 | |
| 151 | pub fn taproot_script_and_control_block(&self, leaf_index: usize) -> (ScriptBuf, ControlBlock) { |
| 152 | let cache_id = lock_script_cache_id(&self.commitment_public_keys, leaf_index); |
no test coverage detected