Tests: Remove unnecessary argument
This commit is contained in:
parent
45f52ae535
commit
c8159746e7
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue