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:
Stephen Akridge
2018-07-31 23:10:02 +00:00
committed by Greg Fitzgerald
parent 4a8a0d03a3
commit 6693386bc5
3 changed files with 7 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ impl Block for [Entry] {
entry_pairs.all(|(x0, x1)| {
let r = x1.verify(&x0.id);
if !r {
error!(
warn!(
"entry invalid!: {:?} num txs: {}",
x1.id,
x1.transactions.len()