(
network: Network,
public_key: &XOnlyPublicKey,
num_blocks_timelock: u32,
)
| 149 | } |
| 150 | |
| 151 | pub fn generate_timelock_taproot_script_address( |
| 152 | network: Network, |
| 153 | public_key: &XOnlyPublicKey, |
| 154 | num_blocks_timelock: u32, |
| 155 | ) -> Address { |
| 156 | Address::p2wsh( |
| 157 | &generate_timelock_taproot_script(public_key, num_blocks_timelock), |
| 158 | network, |
| 159 | ) |
| 160 | } |
nothing calls this directly
no test coverage detected