(&self, leaf_index: u32)
| 132 | |
| 133 | impl TaprootConnector for ConnectorB { |
| 134 | fn generate_taproot_leaf_script(&self, leaf_index: u32) -> ScriptBuf { |
| 135 | match leaf_index { |
| 136 | 0 => self.generate_taproot_leaf_0_script(), |
| 137 | 1 => self.generate_taproot_leaf_1_script(), |
| 138 | 2 => self.generate_taproot_leaf_2_script(), |
| 139 | _ => panic!("Invalid leaf index."), |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | fn generate_taproot_leaf_tx_in(&self, leaf_index: u32, input: &Input) -> TxIn { |
| 144 | match leaf_index { |
nothing calls this directly
no test coverage detected