(quickfix) Check for daemon version equal or higher.

This commit is contained in:
hackrush 2017-07-22 19:29:54 +05:30
parent 82b6e3af07
commit 4f6481d4c4

View file

@ -224,7 +224,7 @@ export function doCheckDaemonVersion() {
return function(dispatch, getState) {
lbry.version().then(({ lbrynet_version }) => {
dispatch({
type: config.lbrynetDaemonVersion == lbrynet_version
type: lbrynet_version.localeCompare(config.lbrynetDaemonVersion) >= 0
? types.DAEMON_VERSION_MATCH
: types.DAEMON_VERSION_MISMATCH,
});