improve incoming tx status updating

This commit is contained in:
Josh Harvey 2016-05-31 19:13:35 +03:00
parent 2dc332cf1a
commit 38e562bdd6
3 changed files with 49 additions and 17 deletions

View file

@ -210,7 +210,10 @@ function pair (req, res) {
getFingerprint(req),
name,
function (err) {
if (err) return res.send(500).json({ err: err.message })
if (err) {
logger.error(err)
return res.json({err: err.message})
}
res.json({success: true})
}