Skip to content

Commit

Permalink
add support for v2.0.1 of FISCO-BCOS (FISCO-BCOS#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
bxq2011hust authored and JimmyShi22 committed Sep 12, 2019
1 parent 2788b11 commit 19b6b80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/fisco/bcos/fisco/EnumNodeVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ public enum EnumNodeVersion {
BCOS_2_0_0_RC2("2.0.0-rc2"),
BCOS_2_0_0_RC3("2.0.0-rc3"),
BCOS_2_0_0("2.0.0"),
BCOS_2_0_1("2.0.1"),
BCOS_2_1_0("2.1.0");

private String version;
Expand All @@ -25,6 +26,7 @@ public static boolean channelProtocolHandleShakeSupport(String version) {
return !(version.equals(BCOS_2_0_0_RC1.getVersion())
|| version.equals(BCOS_2_0_0_RC2.getVersion())
|| version.equals(BCOS_2_0_0_RC3.getVersion())
|| version.equals(BCOS_2_0_0.getVersion()));
|| version.equals(BCOS_2_0_0.getVersion())
|| version.equals(BCOS_2_0_1.getVersion()));
}
}

0 comments on commit 19b6b80

Please sign in to comment.