use winston instead of bunyan
This commit is contained in:
parent
24124b7cc5
commit
e559548b04
6 changed files with 1588 additions and 474 deletions
|
|
@ -4,7 +4,6 @@
|
|||
const BigNumber = require('bignumber.js')
|
||||
const pgp = require('pg-promise')()
|
||||
var psqlUrl = require('../lib/options').postgresql
|
||||
const backoff = require('u-promised').backoff
|
||||
|
||||
const logger = require('./logger')
|
||||
|
||||
|
|
@ -476,7 +475,8 @@ exports.nextCashOutSerialHD = function nextCashOutSerialHD (txId, cryptoCode) {
|
|||
.then(() => serialNumber)
|
||||
})
|
||||
|
||||
return backoff(100, 0, 5, attempt)
|
||||
// TODO: retry on failure
|
||||
return attempt()
|
||||
}
|
||||
|
||||
exports.fetchLiveHD = function fetchLiveHD () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue