From 0881c9d0fc1f45323325ef11e4ba52dd28c7d2bb Mon Sep 17 00:00:00 2001 From: Paul Kwon Date: Sat, 18 Jan 2025 05:03:28 +0900 Subject: [PATCH] Small space fix --- rust-sdk/whirlpool/src/harvest.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/rust-sdk/whirlpool/src/harvest.rs b/rust-sdk/whirlpool/src/harvest.rs index fdde0075..e606c806 100644 --- a/rust-sdk/whirlpool/src/harvest.rs +++ b/rust-sdk/whirlpool/src/harvest.rs @@ -367,7 +367,6 @@ mod tests { async fn get_token_balance(rpc: &RpcClient, address: Pubkey) -> Result> { let account_data = rpc.get_account(&address).await?; - if account_data.owner == TOKEN_2022_PROGRAM_ID { let parsed = StateWithExtensionsOwned::::unpack(account_data.data)?; Ok(parsed.base.amount) @@ -382,7 +381,6 @@ mod tests { harvest_ix: &HarvestPositionInstruction, ata_a: Pubkey, ata_b: Pubkey, - position_mint: Pubkey, ) -> Result<(), Box> { let before_a = get_token_balance(&ctx.rpc, ata_a).await?;