mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
reduce log level on electrs notification errors to quieten logs
This commit is contained in:
parent
d67dd515c4
commit
e45fdc72a0
1 changed files with 2 additions and 2 deletions
|
@ -32,10 +32,10 @@ public class SubscriptionService {
|
||||||
|
|
||||||
Set<String> existingStatuses = ElectrumServer.getSubscribedScriptHashes().get(scriptHash);
|
Set<String> existingStatuses = ElectrumServer.getSubscribedScriptHashes().get(scriptHash);
|
||||||
if(existingStatuses == null) {
|
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);
|
ElectrumServer.updateSubscribedScriptHashStatus(scriptHash, status);
|
||||||
} else if(existingStatuses.contains(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;
|
return;
|
||||||
} else {
|
} else {
|
||||||
String oldStatus = Iterables.getLast(existingStatuses);
|
String oldStatus = Iterables.getLast(existingStatuses);
|
||||||
|
|
Loading…
Reference in a new issue