simplified unpairing

This commit is contained in:
Josh Harvey 2014-04-20 12:07:48 +03:00
parent e50567ff81
commit 6ed979b1af
3 changed files with 14 additions and 44 deletions

View file

@ -18,12 +18,6 @@ Error.prototype.toJSON = function () {
};
var poll = function(req, res) {
if (req.device.unpair) {
return res.json({
unpair: true
});
}
var rateRec = _trader.rate(req.params.currency);
var satoshiBalanceRec = _trader.balance;