From 3605e33f511d2a3296e00d6cf9454dbee785e8f8 Mon Sep 17 00:00:00 2001 From: John Saigle Date: Thu, 7 Mar 2024 09:31:33 -0500 Subject: [PATCH] solana: fix cargo check errors --- .../src/transceivers/wormhole/accounts.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/solana/programs/example-native-token-transfers/src/transceivers/wormhole/accounts.rs b/solana/programs/example-native-token-transfers/src/transceivers/wormhole/accounts.rs index c6518921c..eccb8daca 100644 --- a/solana/programs/example-native-token-transfers/src/transceivers/wormhole/accounts.rs +++ b/solana/programs/example-native-token-transfers/src/transceivers/wormhole/accounts.rs @@ -78,6 +78,7 @@ pub fn post_message<'info, A: TypePrefixedPayload>( /// SECURITY: Owner and signer checks are disabled as this private function is used only by /// [`post_message`]. +#[allow(unknown_lints)] #[allow(missing_owner_check)] #[allow(missing_signer_check)] fn pay_wormhole_fee<'info>(