mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
pibd capabilities test was only relevant temporarily (#3565)
while we did not enable it by default
This commit is contained in:
parent
4ab72902e0
commit
524dbd0170
1 changed files with 0 additions and 10 deletions
|
@ -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),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue