kns_indexer: change pending note print to verbosity1

This commit is contained in:
bitful-pannul 2024-08-28 17:29:30 +03:00
parent 57332a49fc
commit 9bd5456fb0

View File

@ -278,7 +278,10 @@ fn handle_pending_notes(
for (note, attempt) in notes.drain(..) {
if attempt >= MAX_PENDING_ATTEMPTS {
// skip notes that have exceeded max attempts
println!("dropping note from block {block} after {attempt} attempts");
print_to_terminal(
1,
&format!("dropping note from block {block} after {attempt} attempts"),
);
continue;
}
if let Err(e) = handle_note(state, &note) {