From e45fdc72a039003d56dff0a21758392aca6bbb23 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Wed, 10 Mar 2021 14:17:40 +0200 Subject: [PATCH] reduce log level on electrs notification errors to quieten logs --- .../com/sparrowwallet/sparrow/net/SubscriptionService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/net/SubscriptionService.java b/src/main/java/com/sparrowwallet/sparrow/net/SubscriptionService.java index 759ee3c2..cbcbc0cc 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/SubscriptionService.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/SubscriptionService.java @@ -32,10 +32,10 @@ public class SubscriptionService { Set existingStatuses = ElectrumServer.getSubscribedScriptHashes().get(scriptHash); if(existingStatuses == null) { - log.warn("Received script hash status update for unsubscribed script hash: " + scriptHash); + log.debug("Received script hash status update for unsubscribed script hash: " + scriptHash); ElectrumServer.updateSubscribedScriptHashStatus(scriptHash, status); } else if(existingStatuses.contains(status)) { - log.warn("Received script hash status update, but status has not changed"); + log.debug("Received script hash status update, but status has not changed"); return; } else { String oldStatus = Iterables.getLast(existingStatuses);