Expired transaction after bugfix (#121)

* other minor fixes

* reedemable transaction expiry fix
This commit is contained in:
Fabio Cigliano 2018-06-13 01:15:58 +12:00 committed by Josh Harvey
parent 25030fab2a
commit 63e0782e32
3 changed files with 13 additions and 3 deletions

View file

@ -103,8 +103,14 @@ function getMachines (info) {
}
function sendRadar (data) {
const url = _.get(['coinAtmRadar', 'url'], options)
if (_.isEmpty(url)) {
return Promise.reject(new Error('Missing coinAtmRadar url!'))
}
const config = {
url: options.coinAtmRadar.url,
url,
method: 'post',
data,
timeout: TIMEOUT,