1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-23 14:50:45 +01:00

Fix log level during mempool sync interruption

https://github.com/romanz/electrs/pull/917#pullrequestreview-1736677655
This commit is contained in:
Roman Zeyde 2023-11-17 16:40:22 +02:00
parent b6271ba3af
commit a01d58c35d
No known key found for this signature in database
GPG key ID: 87CAE5FA46917CBB

View file

@ -121,7 +121,7 @@ impl Mempool {
let mut added = 0; let mut added = 0;
for chunk in to_add.chunks(100) { for chunk in to_add.chunks(100) {
if exit_flag.poll().is_err() { if exit_flag.poll().is_err() {
warn!("interrupted while syncing mempool"); info!("interrupted while syncing mempool");
return; return;
} }
let entries: Vec<_> = chunk let entries: Vec<_> = chunk