- SpendableOutputDescriptor::DynamicOutputP2WSH { ref outpoint, ref per_commitment_point, ref to_self_delay, ref output, ref revocation_pubkey, ref channel_keys_id, channel_value_satoshis } => {
- assert_eq!(channel_value_satoshis, $chan_value);
+ SpendableOutputDescriptor::DynamicOutputP2WSH(ref descriptor) => {
+ assert_eq!(descriptor.channel_value_satoshis, $chan_value);