From 1317d1c19bdfd1774374b52a7cf0d37bb3c58069 Mon Sep 17 00:00:00 2001 From: brewmaster012 <88689859+brewmaster012@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:38:30 -0500 Subject: [PATCH] fmt --- programs/protocol-contracts-solana/src/lib.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/programs/protocol-contracts-solana/src/lib.rs b/programs/protocol-contracts-solana/src/lib.rs index f565ffd..2812b3d 100644 --- a/programs/protocol-contracts-solana/src/lib.rs +++ b/programs/protocol-contracts-solana/src/lib.rs @@ -89,9 +89,13 @@ pub mod gateway { } // whitelisting SPL tokens - pub fn whitelist_spl_mint(_ctx: Context) -> Result<()> { Ok(()) } + pub fn whitelist_spl_mint(_ctx: Context) -> Result<()> { + Ok(()) + } - pub fn de_whitelist_spl_mint(_ctx: Context) -> Result<()> { Ok(()) } + pub fn de_whitelist_spl_mint(_ctx: Context) -> Result<()> { + Ok(()) + } // deposit SOL into this program and the `receiver` on ZetaChain zEVM // will get corresponding ZRC20 credit. @@ -424,7 +428,6 @@ pub struct UpdatePaused<'info> { pub signer: Signer<'info>, } - #[derive(Accounts)] pub struct AddToWhitelist<'info> { #[account( @@ -480,8 +483,7 @@ pub struct Pda { } #[account] -pub struct WhitelistEntry { -} +pub struct WhitelistEntry {} #[cfg(test)] mod tests {