From facb027303011bf772ac507ee1a968b2b1d88e98 Mon Sep 17 00:00:00 2001 From: "E. Fynn" Date: Thu, 12 May 2022 15:32:44 -0300 Subject: [PATCH] Remove extra call to `check_mint` --- anker/src/processor.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/anker/src/processor.rs b/anker/src/processor.rs index 8b0c2125d..fdd64afc5 100644 --- a/anker/src/processor.rs +++ b/anker/src/processor.rs @@ -407,7 +407,6 @@ fn process_withdraw( anker.check_is_st_sol_account(&solido, accounts.reserve_account)?; anker.check_mint(accounts.b_sol_mint)?; - anker.check_mint(accounts.b_sol_mint)?; anker.check_reserve_authority(program_id, accounts.anker.key, accounts.reserve_authority)?; let mint = match spl_token::state::Mint::unpack_from_slice(&accounts.b_sol_mint.data.borrow()) {