diff --git a/doc/release-notes/release-notes-2.1.0.md b/doc/release-notes/release-notes-2.1.0.md index d0831361..72c94c9e 100644 --- a/doc/release-notes/release-notes-2.1.0.md +++ b/doc/release-notes/release-notes-2.1.0.md @@ -8,5 +8,4 @@ Please report bugs using the issue tracker at github: https://github.com/thelind Shutdown Altitude if it is already running and then run the installer. ## About this Release - -This release contains command updates to accomodate changes made by the Metrix 3.4 update \ No newline at end of file +- This release contains command updates to accomodate changes made by the Metrix 3.4 update \ No newline at end of file diff --git a/doc/release-notes/release-notes-2.1.1.md b/doc/release-notes/release-notes-2.1.1.md new file mode 100644 index 00000000..a042b131 --- /dev/null +++ b/doc/release-notes/release-notes-2.1.1.md @@ -0,0 +1,11 @@ +# Altitude 2.1.1 + +This is a patch release. + +Please report bugs using the issue tracker at github: https://github.com/thelindaprojectinc/altitude/issues + +## How to Upgrade +Shutdown Altitude if it is already running and then run the installer. + +## About this Release +- Fix Altitude not detecting new core update \ No newline at end of file diff --git a/lib/client.ts b/lib/client.ts index 86f13861..22d42744 100644 --- a/lib/client.ts +++ b/lib/client.ts @@ -194,8 +194,9 @@ export default class Client { try { const res: any = await helpers.getRequest("https://raw.githubusercontent.com/thelindaprojectinc/altitude/master/clientBinaries.json"); let remoteClientBinaries = JSON.parse(res.body); - if (compareVersions(clientBinaries[this.clientName].version, remoteClientBinaries[this.clientName].version) >= 0) { - clientBinaries = remoteClientBinaries + if (compareVersions(remoteClientBinaries[this.clientName].version, clientBinaries[this.clientName].version) >= 0) { + clientBinaries = remoteClientBinaries; + log.info("Client", "Using remote client binaries"); } } catch (ex) { log.info("Client", "Failed to get remote client binaries, using local"); diff --git a/package.json b/package.json index b86144cb..4206eab4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "altitude", - "version": "2.1.0", + "version": "2.1.1", "description": "The Altitude wallet by Linda Project Inc.", "homepage": "https://github.com/thelindaprojectinc/altitude", "author": {