Skip to content

Commit

Permalink
fix: rollback format
Browse files Browse the repository at this point in the history
  • Loading branch information
wei3erHase committed Sep 25, 2024
1 parent c88980b commit e7a32b9
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions program/tests/functional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit e7a32b9

Please sign in to comment.