Skip to content

Commit

Permalink
token-2022: Refresh blockhash in flaky test (#5405)
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque authored Oct 3, 2023
1 parent a95c6d1 commit 58c6caf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions token/program-2022-test/tests/confidential_transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,8 @@ async fn confidential_transfer_enable_disable_confidential_credits() {
.unwrap();
assert!(bool::from(&extension.allow_confidential_credits));

// Refresh the blockhash since we're doing the same thing twice in a row
token.get_new_latest_blockhash().await.unwrap();
token
.confidential_transfer_deposit(
&alice_meta.token_account,
Expand Down

0 comments on commit 58c6caf

Please sign in to comment.