fix: zero-conf backwards compatibility
This commit is contained in:
parent
ff474ee507
commit
e82dc27c13
2 changed files with 6 additions and 1 deletions
|
|
@ -87,6 +87,11 @@ function poll (req, res, next) {
|
|||
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
|
||||
// machines before 7.5 expect old compliance
|
||||
if (!machineVersion || semver.lt(machineVersion, '7.5.0-beta.0')) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "lamassu-server",
|
||||
"description": "bitcoin atm client server protocol module",
|
||||
"keywords": [],
|
||||
"version": "7.5.3",
|
||||
"version": "7.6.0-beta.0",
|
||||
"license": "Unlicense",
|
||||
"author": "Lamassu (https://lamassu.is)",
|
||||
"dependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue