Tests: Remove unnecessary argument

This commit is contained in:
Christian Kamm 2022-08-24 13:33:11 +02:00
parent 45f52ae535
commit c8159746e7
2 changed files with 3 additions and 10 deletions

View File

@ -2501,7 +2501,6 @@ impl ClientInstruction for TokenUpdateIndexAndRateInstruction {
pub struct ComputeAccountDataInstruction {
pub account: Pubkey,
pub health_type: HealthType,
}
#[async_trait::async_trait(?Send)]
impl ClientInstruction for ComputeAccountDataInstruction {

View File

@ -111,15 +111,9 @@ async fn test_basic() -> Result<(), TransportError> {
//
// TEST: Compute the account health
//
send_tx(
solana,
ComputeAccountDataInstruction {
account,
health_type: HealthType::Init,
},
)
.await
.unwrap();
send_tx(solana, ComputeAccountDataInstruction { account })
.await
.unwrap();
//
// TEST: Withdraw funds