Correct StakeInstruction::DeactivateDelinquent instruction type

This commit is contained in:
Michael Vines 2022-08-09 11:39:09 -07:00
parent c2455e7aa4
commit b0c61e832c
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ pub fn parse_stake(
StakeInstruction::DeactivateDelinquent => {
check_num_stake_accounts(&instruction.accounts, 3)?;
Ok(ParsedInstructionEnum {
instruction_type: "deactivateDeactive".to_string(),
instruction_type: "deactivateDelinquent".to_string(),
info: json!({
"stakeAccount": account_keys[instruction.accounts[0] as usize].to_string(),
"voteAccount": account_keys[instruction.accounts[1] as usize].to_string(),