Set BeaconChain block propose failure log to warn

It think it's more suitable to a warn
This commit is contained in:
Paul Hauner 2019-03-02 11:24:41 +11:00
parent 1de723b275
commit fd819fb7ca
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -5,7 +5,7 @@ use db::{
ClientDB, DBError, ClientDB, DBError,
}; };
use fork_choice::{ForkChoice, ForkChoiceError}; use fork_choice::{ForkChoice, ForkChoiceError};
use log::{debug, trace}; use log::{debug, trace, warn};
use parking_lot::{RwLock, RwLockReadGuard}; use parking_lot::{RwLock, RwLockReadGuard};
use slot_clock::SlotClock; use slot_clock::SlotClock;
use ssz::ssz_encode; use ssz::ssz_encode;
@ -668,7 +668,7 @@ where
let result = let result =
state.per_block_processing_without_verifying_block_signature(&block, &self.spec); state.per_block_processing_without_verifying_block_signature(&block, &self.spec);
trace!( warn!(
"BeaconNode::produce_block: state processing result: {:?}", "BeaconNode::produce_block: state processing result: {:?}",
result result
); );