Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: #87 Add N2CVersion 17 to N2CVersionTableConstant #88

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class N2CVersionTableConstant {
public final static long PROTOCOL_V14 = 32782;
public final static long PROTOCOL_V15 = 32783;
public final static long PROTOCOL_V16 = 32784;
public final static long PROTOCOL_V17 = 32785;

public static VersionTable v1AndAbove(long networkMagic) {
OldN2CVersionData oldVersionData = new OldN2CVersionData(networkMagic);
Expand All @@ -47,6 +48,7 @@ public static VersionTable v1AndAbove(long networkMagic) {
versionTableMap.put(PROTOCOL_V14, oldVersionData);
versionTableMap.put(PROTOCOL_V15, versionData);
versionTableMap.put(PROTOCOL_V16, versionData);
versionTableMap.put(PROTOCOL_V17, versionData);

return new VersionTable(versionTableMap);
}
Expand Down
Loading