Skip to content

Commit

Permalink
fix: warning
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Oct 29, 2024
1 parent ecad0c3 commit 9b2e8a7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ use {
/// Using partially verified price updates is dangerous, as it lowers the threshold of guardians that need to collude to produce a malicious price update.
#[derive(AnchorSerialize, AnchorDeserialize, Copy, Clone, PartialEq, BorshSchema, Debug)]
pub enum VerificationLevel {
Partial { num_signatures: u8 },
Partial {
#[allow(unused)]
num_signatures: u8,
},
Full,
}

Expand Down

0 comments on commit 9b2e8a7

Please sign in to comment.