Merge pull request #868 from SiIky/fix/Z4NKZ9Hc/zeroconf-backwards-compat
fix: zero-conf backwards compatibility
This commit is contained in:
commit
1d2c497a4f
2 changed files with 6 additions and 1 deletions
|
|
@ -87,6 +87,11 @@ function poll (req, res, next) {
|
||||||
triggersAutomation
|
triggersAutomation
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// BACKWARDS_COMPATIBILITY 7.6
|
||||||
|
// Machines before 7.6 expect a single zeroConfLimit value per machine.
|
||||||
|
if (!semver.gte(machineVersion, '7.6.0-beta.0'))
|
||||||
|
response.zeroConfLimit = _.min(_.values(zeroConfLimits))
|
||||||
|
|
||||||
// BACKWARDS_COMPATIBILITY 7.5
|
// BACKWARDS_COMPATIBILITY 7.5
|
||||||
// machines before 7.5 expect old compliance
|
// machines before 7.5 expect old compliance
|
||||||
if (!machineVersion || semver.lt(machineVersion, '7.5.0-beta.0')) {
|
if (!machineVersion || semver.lt(machineVersion, '7.5.0-beta.0')) {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "lamassu-server",
|
"name": "lamassu-server",
|
||||||
"description": "bitcoin atm client server protocol module",
|
"description": "bitcoin atm client server protocol module",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"version": "7.5.3",
|
"version": "7.6.0-beta.0",
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"author": "Lamassu (https://lamassu.is)",
|
"author": "Lamassu (https://lamassu.is)",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue