Browse Source

reduce log level on electrs notification errors to quieten logs

terminal
Craig Raw 4 years ago
parent
commit
e45fdc72a0
  1. 4
      src/main/java/com/sparrowwallet/sparrow/net/SubscriptionService.java

4
src/main/java/com/sparrowwallet/sparrow/net/SubscriptionService.java

@ -32,10 +32,10 @@ public class SubscriptionService {
Set<String> 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);

Loading…
Cancel
Save