Add an unknown default for Chain type
Change-Id: I1c175c906311063dd10db4ea3ed693098592585d
This commit is contained in:
parent
8effae6cb5
commit
249fc68107
|
@ -18,5 +18,12 @@ pub struct BridgeConfig {
|
|||
#[repr(u8)]
|
||||
#[derive(AnchorSerialize, AnchorDeserialize, Clone, Copy, Debug)]
|
||||
pub enum Chain {
|
||||
Unknown,
|
||||
Solana = 1u8,
|
||||
}
|
||||
|
||||
impl Default for Chain {
|
||||
fn default() -> Self {
|
||||
Chain::Unknown
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue