From 0b666ad9fd0135586d0677125f9ce100773b049a Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 9 Jan 2019 00:00:49 -0700 Subject: [PATCH] De-dup error messages --- fullnode/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fullnode/src/main.rs b/fullnode/src/main.rs index 29f7bf7962..c4cf47fe8c 100644 --- a/fullnode/src/main.rs +++ b/fullnode/src/main.rs @@ -202,7 +202,7 @@ fn main() { let balance = client.poll_get_balance(&pubkey).unwrap_or(0); info!("balance is {}", balance); if balance < 1 { - error!("insufficient tokens"); + error!("insufficient tokens, one token required"); if let Some(t) = t_signer { if let Some(exit) = signer_exit { create_vote_account::stop_local_vote_signer_service(t, &exit); @@ -215,7 +215,7 @@ fn main() { if client.poll_get_balance(&vote_account_id).unwrap_or(0) == 0 { // Need at least two tokens as one token will be spent on a vote_account_new() transaction if balance < 2 { - error!("insufficient tokens"); + error!("insufficient tokens, two tokens required"); if let Some(t) = t_signer { if let Some(exit) = signer_exit { create_vote_account::stop_local_vote_signer_service(t, &exit);