use winston instead of bunyan

This commit is contained in:
Josh Harvey 2016-11-06 14:56:27 +00:00
parent 24124b7cc5
commit e559548b04
6 changed files with 1588 additions and 474 deletions

View file

@ -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 () {