fix addrs listing
This commit is contained in:
parent
db11e9f027
commit
6705a1dc0f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue