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) {