From 6705a1dc0f84a2dbf9c7ea1488674161717ead6e Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 10 Mar 2014 17:18:19 -0300 Subject: [PATCH] fix addrs listing --- app/controllers/transactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/transactions.js b/app/controllers/transactions.js index 6179244c..d8090696 100644 --- a/app/controllers/transactions.js +++ b/app/controllers/transactions.js @@ -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) {