Add vote instruction debug log

This commit is contained in:
Michael Vines 2018-12-10 12:26:44 -08:00
parent 4ea1c030bc
commit d7032aeb43
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ fn entrypoint(
error!("account[0] is not assigned to the VOTE_PROGRAM");
Err(ProgramError::InvalidArgument)?;
}
debug!("{:?} by {}", vote, keyed_accounts[0].signer_key().unwrap());
let mut vote_state = VoteProgram::deserialize(&keyed_accounts[0].account.userdata)?;