Skip to content

Commit

Permalink
solana: remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
a5-pickle committed Aug 4, 2023
1 parent 531c585 commit 5a161ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ pub struct Initialize<'info> {
)]
token_bridge_sender: AccountInfo<'info>,

// /// CHECK: This account is needed for the Token Bridge program. This PDA is specifically used to
// /// sign for transferring via Token Bridge program with a message.
// #[account(
// seeds = [token_bridge::SEED_PREFIX_REDEEMER],
// bump,
// )]
// token_bridge_redeemer: AccountInfo<'info>,
system_program: Program<'info, System>,
token_program: Program<'info, token::Token>,
}
Expand All @@ -79,8 +72,6 @@ pub fn initialize(ctx: Context<Initialize>, minting_limit: u64) -> Result<()> {
wrapped_tbtc_token: ctx.accounts.wrapped_tbtc_token.key(),
token_bridge_sender: ctx.accounts.token_bridge_sender.key(),
token_bridge_sender_bump: ctx.bumps["token_bridge_sender"],
// token_bridge_redeemer: ctx.accounts.token_bridge_redeemer.key(),
// token_bridge_redeemer_bump: ctx.bumps["token_bridge_redeemer"],
minting_limit,
minted_amount: 0,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ pub struct Custodian {
pub wrapped_tbtc_token: Pubkey,
pub token_bridge_sender: Pubkey,
pub token_bridge_sender_bump: u8,
// pub token_bridge_redeemer: Pubkey,
// pub token_bridge_redeemer_bump: u8,
pub minting_limit: u64,
pub minted_amount: u64,
}
Expand Down

0 comments on commit 5a161ee

Please sign in to comment.