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
pub fn decode_commitment_number(
tx: &Transaction,
params: &ChannelTransactionParameters,
) -> Option<u64>
Decode a commitment transaction and return the commitment number if it is a commitment tx