File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -632,22 +632,22 @@ async fn fail_with_not_enough_tokens() {
632
632
tokens_to_burn,
633
633
) = setup_for_withdraw ( spl_token:: id ( ) ) . await ;
634
634
635
+ let last_blockhash = context
636
+ . banks_client
637
+ . get_new_latest_blockhash ( & context. last_blockhash )
638
+ . await
639
+ . unwrap ( ) ;
640
+
635
641
// Empty validator stake account
636
642
let empty_stake_account = simple_add_validator_to_pool (
637
643
& mut context. banks_client ,
638
644
& context. payer ,
639
- & context . last_blockhash ,
645
+ & last_blockhash,
640
646
& stake_pool_accounts,
641
647
None ,
642
648
)
643
649
. await ;
644
650
645
- let last_blockhash = context
646
- . banks_client
647
- . get_new_latest_blockhash ( & context. last_blockhash )
648
- . await
649
- . unwrap ( ) ;
650
-
651
651
let new_authority = Pubkey :: new_unique ( ) ;
652
652
let error = stake_pool_accounts
653
653
. withdraw_stake (
You can’t perform that action at this time.
0 commit comments