bdk_chain::bitcoin::bech32::primitives::segwit

Function is_valid_witness_version

pub fn is_valid_witness_version(witness_version: Fe32) -> bool
Expand description

Returns true if given field element represents a valid segwit version.