mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-06 14:44:22 +01:00
parital eq for channel state enum
This commit is contained in:
committed by
Rusty Russell
parent
7372b518ef
commit
fe15f66146
@@ -10,7 +10,7 @@ use std::string::ToString;
|
||||
pub use bitcoin::hashes::sha256::Hash as Sha256;
|
||||
pub use bitcoin::secp256k1::PublicKey;
|
||||
|
||||
#[derive(Copy, Clone, Serialize, Deserialize, Debug)]
|
||||
#[derive(Copy, Clone, Serialize, Deserialize, Debug, PartialEq)]
|
||||
#[allow(non_camel_case_types)]
|
||||
pub enum ChannelState {
|
||||
OPENINGD = 0,
|
||||
|
||||
Reference in New Issue
Block a user