Lower errors to warnings so they don't print during tests
Negative tests should trigger the warnings, but errors look like something is wrong.
This commit is contained in:
committed by
Greg Fitzgerald
parent
4a8a0d03a3
commit
6693386bc5
@@ -118,7 +118,7 @@ impl Entry {
|
||||
let tx_plans_verified = self.transactions.par_iter().all(|tx| {
|
||||
let r = tx.verify_plan();
|
||||
if !r {
|
||||
error!("tx plan invalid: {:?}", tx);
|
||||
warn!("tx plan invalid: {:?}", tx);
|
||||
}
|
||||
r
|
||||
});
|
||||
@@ -127,7 +127,7 @@ impl Entry {
|
||||
}
|
||||
let ref_hash = next_hash(start_hash, self.num_hashes, &self.transactions);
|
||||
if self.id != ref_hash {
|
||||
error!(
|
||||
warn!(
|
||||
"next_hash is invalid expected: {:?} actual: {:?}",
|
||||
self.id, ref_hash
|
||||
);
|
||||
|
Reference in New Issue
Block a user