From 2b43b117dc6fe234ae4283d92102cc35c2014b10 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 16 Sep 2019 10:12:55 -0700 Subject: [PATCH] Demote vote-native datapoint from warn to info (#5911) --- programs/vote_api/src/vote_instruction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/vote_api/src/vote_instruction.rs b/programs/vote_api/src/vote_instruction.rs index f0a6ffd2c..7ff9a2acc 100644 --- a/programs/vote_api/src/vote_instruction.rs +++ b/programs/vote_api/src/vote_instruction.rs @@ -9,7 +9,7 @@ use bincode::deserialize; use log::*; use num_derive::{FromPrimitive, ToPrimitive}; use serde_derive::{Deserialize, Serialize}; -use solana_metrics::datapoint_warn; +use solana_metrics::datapoint_info; use solana_sdk::{ account::KeyedAccount, instruction::{AccountMeta, Instruction, InstructionError}, @@ -180,7 +180,7 @@ pub fn process_instruction( vote_state::authorize_voter(me, rest, &voter_pubkey) } VoteInstruction::Vote(vote) => { - datapoint_warn!("vote-native", ("count", 1, i64)); + datapoint_info!("vote-native", ("count", 1, i64)); if rest.len() < 2 { Err(InstructionError::InvalidInstructionData)?; }