From 524dbd01701201bbe2e0f87a00a724403e632b0e Mon Sep 17 00:00:00 2001 From: Antioch Peverell Date: Tue, 16 Feb 2021 11:28:01 +0000 Subject: [PATCH] pibd capabilities test was only relevant temporarily (#3565) while we did not enable it by default --- p2p/tests/ser_deser.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/p2p/tests/ser_deser.rs b/p2p/tests/ser_deser.rs index 70ba0583e..7d0767f62 100644 --- a/p2p/tests/ser_deser.rs +++ b/p2p/tests/ser_deser.rs @@ -74,13 +74,3 @@ fn test_capabilities() { .contains(p2p::types::Capabilities::TX_KERNEL_HASH) ); } - -// Default capabilities do not currently include PIBD_HIST -// but it is a supported capability bit flag (currently unused). -#[test] -fn test_pibd_capabilities() { - assert_eq!( - p2p::types::Capabilities::default() | p2p::types::Capabilities::PIBD_HIST, - p2p::types::Capabilities::from_bits_truncate(0b11111111 as u32), - ); -}