Demote vote-native datapoint from warn to info (#5911)

This commit is contained in:
Michael Vines 2019-09-16 10:12:55 -07:00 committed by GitHub
parent 1aec9e38fa
commit 2b43b117dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ use bincode::deserialize;
use log::*; use log::*;
use num_derive::{FromPrimitive, ToPrimitive}; use num_derive::{FromPrimitive, ToPrimitive};
use serde_derive::{Deserialize, Serialize}; use serde_derive::{Deserialize, Serialize};
use solana_metrics::datapoint_warn; use solana_metrics::datapoint_info;
use solana_sdk::{ use solana_sdk::{
account::KeyedAccount, account::KeyedAccount,
instruction::{AccountMeta, Instruction, InstructionError}, instruction::{AccountMeta, Instruction, InstructionError},
@ -180,7 +180,7 @@ pub fn process_instruction(
vote_state::authorize_voter(me, rest, &voter_pubkey) vote_state::authorize_voter(me, rest, &voter_pubkey)
} }
VoteInstruction::Vote(vote) => { VoteInstruction::Vote(vote) => {
datapoint_warn!("vote-native", ("count", 1, i64)); datapoint_info!("vote-native", ("count", 1, i64));
if rest.len() < 2 { if rest.len() < 2 {
Err(InstructionError::InvalidInstructionData)?; Err(InstructionError::InvalidInstructionData)?;
} }