mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 11:45:51 +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);
|
super(params, payloadBytes, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "ALERT: " + getStatusBar();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
void parse() throws ProtocolException {
|
void parse() throws ProtocolException {
|
||||||
// Alerts are formatted in two levels. The top level contains two byte arrays: a signature, and a serialized
|
// Alerts are formatted in two levels. The top level contains two byte arrays: a signature, and a serialized
|
||||||
|
Loading…
x
Reference in New Issue
Block a user