diff --git a/program/tests/functional.rs b/program/tests/functional.rs index a927be1..d2dd063 100644 --- a/program/tests/functional.rs +++ b/program/tests/functional.rs @@ -62,15 +62,15 @@ async fn test_token_vesting() { recent_blockhash, )) .await.unwrap(); - - banks_client.process_transaction(create_token_account( +.process_transaction( + create_token_account( &payer, &mint, recent_blockhash, &source_token_account, &source_account.pubkey(), - )).await.unwrap(); - banks_client.process_transaction(create_token_account( + )).await.unwrap();.process_transaction( + create_token_account( &payer, &mint, recent_blockhash, @@ -180,8 +180,10 @@ async fn test_token_unlocking() { seeds, ) .unwrap()]; - let mut init_transaction = - Transaction::new_with_payer(&init_instruction, Some(&payer.pubkey())); + let mut init_transaction = Transaction::new_with_payer( + &init_instruction, + Some(&payer.pubkey()), + ); init_transaction.partial_sign(&[&payer], recent_blockhash); banks_client .process_transaction(init_transaction) @@ -199,8 +201,8 @@ async fn test_token_unlocking() { .await .unwrap(); - banks_client - .process_transaction(create_token_account( + banks_client.process_transaction( + create_token_account( &payer, &mint, recent_blockhash, @@ -209,8 +211,8 @@ async fn test_token_unlocking() { )) .await .unwrap(); - banks_client - .process_transaction(create_token_account( + banks_client.process_transaction( + create_token_account( &payer, &mint, recent_blockhash,