Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fmt
Browse files Browse the repository at this point in the history
brewmaster012 committed Oct 8, 2024
1 parent b7a4d63 commit 1317d1c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions programs/protocol-contracts-solana/src/lib.rs
Original file line number Diff line number Diff line change
@@ -89,9 +89,13 @@ pub mod gateway {
}

// whitelisting SPL tokens
pub fn whitelist_spl_mint(_ctx: Context<AddToWhitelist>) -> Result<()> { Ok(()) }
pub fn whitelist_spl_mint(_ctx: Context<AddToWhitelist>) -> Result<()> {
Ok(())
}

pub fn de_whitelist_spl_mint(_ctx: Context<DeleteFromWhitelist>) -> Result<()> { Ok(()) }
pub fn de_whitelist_spl_mint(_ctx: Context<DeleteFromWhitelist>) -> 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 {

0 comments on commit 1317d1c

Please sign in to comment.