Skip to content

Commit 92ad74b

Browse files
committed
f assert current feature bit state
1 parent 51b76d4 commit 92ad74b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/ln/features.rs

+5
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,11 @@ mod tests {
818818
assert!(!NodeFeatures::known().requires_basic_mpp());
819819
assert!(!InvoiceFeatures::known().requires_basic_mpp());
820820

821+
assert!(InitFeatures::known().supports_channel_type());
822+
assert!(NodeFeatures::known().supports_channel_type());
823+
assert!(!InitFeatures::known().requires_channel_type());
824+
assert!(!NodeFeatures::known().requires_channel_type());
825+
821826
assert!(InitFeatures::known().supports_shutdown_anysegwit());
822827
assert!(NodeFeatures::known().supports_shutdown_anysegwit());
823828

0 commit comments

Comments
 (0)