Skip to content

Commit

Permalink
Small space fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldragonfly committed Jan 17, 2025
1 parent 0d60d90 commit 0881c9d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rust-sdk/whirlpool/src/harvest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ mod tests {

async fn get_token_balance(rpc: &RpcClient, address: Pubkey) -> Result<u64, Box<dyn Error>> {
let account_data = rpc.get_account(&address).await?;

if account_data.owner == TOKEN_2022_PROGRAM_ID {
let parsed = StateWithExtensionsOwned::<TokenAccount2022>::unpack(account_data.data)?;
Ok(parsed.base.amount)
Expand All @@ -382,7 +381,6 @@ mod tests {
harvest_ix: &HarvestPositionInstruction,
ata_a: Pubkey,
ata_b: Pubkey,

position_mint: Pubkey,
) -> Result<(), Box<dyn Error>> {
let before_a = get_token_balance(&ctx.rpc, ata_a).await?;
Expand Down

0 comments on commit 0881c9d

Please sign in to comment.