mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 09:20:04 +01:00
VersionMessage: add back helper toStringServices()
as deprecated
This commit is contained in:
parent
e2b1c81b60
commit
2cdbc986a8
1 changed files with 6 additions and 0 deletions
|
@ -297,4 +297,10 @@ public class VersionMessage extends BaseMessage {
|
||||||
public boolean isPingPongSupported() {
|
public boolean isPingPongSupported() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @deprecated use {@link Services#of(long)} and {@link Services#toString()} */
|
||||||
|
@Deprecated
|
||||||
|
public static String toStringServices(long services) {
|
||||||
|
return Services.of(services).toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue