Change log level.

For 1.3.9 filter we expect a error log but dont want to show it as warning
This commit is contained in:
chimp1984 2020-12-19 14:34:09 -05:00
parent dc19e31fe5
commit 9d4d116508
No known key found for this signature in database
GPG Key ID: 9801B4EC591F90E3

View File

@ -466,7 +466,11 @@ public class FilterManager {
Filter currentFilter = getFilter();
if (!isFilterPublicKeyInList(newFilter)) {
log.warn("isFilterPublicKeyInList failed. Filter.getSignerPubKeyAsHex={}", newFilter.getSignerPubKeyAsHex());
if (newFilter.getSignerPubKeyAsHex() != null && !newFilter.getSignerPubKeyAsHex().isEmpty()) {
log.warn("isFilterPublicKeyInList failed. Filter.getSignerPubKeyAsHex={}", newFilter.getSignerPubKeyAsHex());
} else {
log.info("isFilterPublicKeyInList failed. Filter.getSignerPubKeyAsHex not set (expected case for pre v1.3.9 filter)");
}
return;
}
if (!isSignatureValid(newFilter)) {