(&self, leaf_index: u32)
| 81 | |
| 82 | impl TaprootConnector for Connector2 { |
| 83 | fn generate_taproot_leaf_script(&self, leaf_index: u32) -> ScriptBuf { |
| 84 | match leaf_index { |
| 85 | 0 => self.generate_taproot_leaf_0_script(), |
| 86 | 1 => self.generate_taproot_leaf_1_script(), |
| 87 | _ => panic!("Invalid leaf index."), |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | fn generate_taproot_leaf_tx_in(&self, leaf_index: u32, input: &Input) -> TxIn { |
| 92 | match leaf_index { |
nothing calls this directly
no test coverage detected