fixed balance polling bug

This commit is contained in:
Josh Harvey 2014-04-27 11:27:58 -04:00
parent 30084617c3
commit ae82b5ad26

View file

@ -189,9 +189,9 @@ Trader.prototype.sendBitcoins = function (deviceFingerprint, tx, cb) {
return cb(err);
}
cb(null, txHash);
self.db.completeTransaction(tx, txHash);
self.pollRate();
self.pollBalance();
cb(null, txHash);
}
);
}