Skip to content

Commit 524dbd0

Browse files
authored
pibd capabilities test was only relevant temporarily (#3565)
while we did not enable it by default
1 parent 4ab7290 commit 524dbd0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

p2p/tests/ser_deser.rs

-10
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,3 @@ fn test_capabilities() {
7474
.contains(p2p::types::Capabilities::TX_KERNEL_HASH)
7575
);
7676
}
77-
78-
// Default capabilities do not currently include PIBD_HIST
79-
// but it is a supported capability bit flag (currently unused).
80-
#[test]
81-
fn test_pibd_capabilities() {
82-
assert_eq!(
83-
p2p::types::Capabilities::default() | p2p::types::Capabilities::PIBD_HIST,
84-
p2p::types::Capabilities::from_bits_truncate(0b11111111 as u32),
85-
);
86-
}

0 commit comments

Comments
 (0)