Fix test to use correct/updated account in transaction (#24363)

This commit is contained in:
Brooks Prumo 2022-04-15 05:15:02 -05:00 committed by GitHub
parent 3d0d7dc8fc
commit 7cf80a3f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -4398,6 +4398,7 @@ mod tests {
], ],
Ok(()), Ok(()),
); );
transaction_accounts[0] = (stake_address, accounts[0].clone());
process_instruction( process_instruction(
&serialize(&StakeInstruction::DelegateStake).unwrap(), &serialize(&StakeInstruction::DelegateStake).unwrap(),