fix addrs listing

This commit is contained in:
Matias Alejo Garcia 2014-03-10 17:18:19 -03:00
parent db11e9f027
commit 6705a1dc0f
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ exports.list = function(req, res, next) {
});
}
else if (addrStr) {
var a = Address.new(addrStr);
var a = new Address(addrStr);
a.update(function(err) {
if (err && !a.totalReceivedSat) {