(&self, leaf_index: u32)
| 35 | |
| 36 | impl TaprootConnector for ConnectorD { |
| 37 | fn generate_taproot_leaf_script(&self, leaf_index: u32) -> ScriptBuf { |
| 38 | match leaf_index { |
| 39 | 0 => self.generate_taproot_leaf_0_script(), |
| 40 | _ => panic!("Invalid leaf index."), |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | fn generate_taproot_leaf_tx_in(&self, leaf_index: u32, input: &Input) -> TxIn { |
| 45 | match leaf_index { |
nothing calls this directly
no test coverage detected