mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 22:58:32 +01:00
Peer: Demote logging of alert messages to debug. They're not important any more now that they're deprecated.
This commit is contained in:
parent
3c9cb34162
commit
9c49fd5692
1 changed files with 2 additions and 2 deletions
|
@ -643,9 +643,9 @@ public class Peer extends PeerSocketHandler {
|
||||||
protected void processAlert(AlertMessage m) {
|
protected void processAlert(AlertMessage m) {
|
||||||
try {
|
try {
|
||||||
if (m.isSignatureValid()) {
|
if (m.isSignatureValid()) {
|
||||||
log.info("Received alert from peer {}: {}", this, m.getStatusBar());
|
log.debug("Received alert from peer {}: {}", this, m.getStatusBar());
|
||||||
} else {
|
} else {
|
||||||
log.warn("Received alert with invalid signature from peer {}: {}", this, m.getStatusBar());
|
log.debug("Received alert with invalid signature from peer {}: {}", this, m.getStatusBar());
|
||||||
}
|
}
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
// Signature checking can FAIL on Android platforms before Gingerbread apparently due to bugs in their
|
// Signature checking can FAIL on Android platforms before Gingerbread apparently due to bugs in their
|
||||||
|
|
Loading…
Add table
Reference in a new issue