(&self, leaf_index: u32)
| 43 | |
| 44 | impl TaprootConnector for Connector0 { |
| 45 | fn generate_taproot_leaf_script(&self, leaf_index: u32) -> ScriptBuf { |
| 46 | match leaf_index { |
| 47 | 0 => self.generate_taproot_leaf_0_script(), |
| 48 | 1 => self.generate_taproot_leaf_1_script(), |
| 49 | _ => panic!("Invalid leaf index."), |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | fn generate_taproot_leaf_tx_in(&self, leaf_index: u32, input: &Input) -> TxIn { |
| 54 | match leaf_index { |
nothing calls this directly
no test coverage detected