fix erroneous error count comparison
This commit is contained in:
parent
0b3d5b2e54
commit
61b9010210
|
@ -50,7 +50,7 @@ fn read_bip<R: BufRead>(buf: R) -> Result<Vec<bip::Node>> {
|
|||
if err_count > 0 {
|
||||
let count_fmt = format!("{err_count} error{}", if err_count == 1 { "" } else { "s" });
|
||||
|
||||
if err_count >= ERR_MAX {
|
||||
if err_count > ERR_MAX {
|
||||
eprintln!("{} ({} shown)", count_fmt, ERR_MAX);
|
||||
} else {
|
||||
eprintln!("{}", count_fmt);
|
||||
|
|
Loading…
Reference in New Issue