mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Make AlertMessage toString contain the actual alert message.
This commit is contained in:
parent
96e27cfe27
commit
7d1c982c9a
@ -57,6 +57,11 @@ public class AlertMessage extends Message {
|
||||
super(params, payloadBytes, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ALERT: " + getStatusBar();
|
||||
}
|
||||
|
||||
@Override
|
||||
void parse() throws ProtocolException {
|
||||
// Alerts are formatted in two levels. The top level contains two byte arrays: a signature, and a serialized
|
||||
|
Loading…
Reference in New Issue
Block a user