Skip to content

Commit a439ba5

Browse files
committed
derive Ord for ControlBlock
1 parent 55e5cd9 commit a439ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consensus/src/taproot.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ impl BitXor for Parity {
794794
}
795795
}
796796

797-
#[derive(Clone, Eq, PartialEq, Hash, Debug)]
797+
#[derive(Clone, Eq, PartialEq, Hash, Debug, PartialOrd, Ord)]
798798
#[derive(StrictType, StrictEncode, StrictDecode, StrictDumb)]
799799
#[strict_type(lib = LIB_NAME_BITCOIN)]
800800
#[cfg_attr(

0 commit comments

Comments
 (0)