Function decode_commitment_number

Source
pub fn decode_commitment_number(
    tx: &Transaction,
    params: &ChannelTransactionParameters,
) -> Option<u64>
Expand description

Decode a commitment transaction and return the commitment number if it is a commitment tx