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

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(),