Skip to content

Commit

Permalink
Merge pull request #88 from bloxbean/issue_87
Browse files Browse the repository at this point in the history
chore: #87 Add N2CVersion 17 to N2CVersionTableConstant
  • Loading branch information
Sotatek-HuyLe3a authored Sep 23, 2024
2 parents 2f3744f + de0a09e commit 81bbc50
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 81bbc50

Please sign in to comment.