Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Change Testnet versions range up to latest rc.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MaciejBaj authored Sep 13, 2018
1 parent 98eeece commit e450733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/ws/rpc/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ const connectSteps = {
/*
if current node is also running a prelease version
if destination node is running a pre-release and
if destination node Testnet version is >=1.0.0-rc.0 and <=1.0.0-rc.3
if destination node Testnet version is >=1.0.0-rc.0 and <=1.0.0-rc.4
*/
if (
semver.prerelease(systemHeaders.version) !== null &&
semver.prerelease(peer.version) !== null &&
semver.lte(peer.version, '1.0.0-rc.3') &&
semver.lte(peer.version, '1.0.0-rc.4') &&

This comment has been minimized.

Copy link
@nazarhussain

nazarhussain Sep 13, 2018

Contributor

👍

semver.gte(peer.version, '1.0.0-rc.0')
) {
const versionComponents = semver.parse(systemHeaders.version);
Expand Down

0 comments on commit e450733

Please sign in to comment.