fix /addr/<1xxx> translation
This commit is contained in:
parent
ef451f8342
commit
136755fcda
@ -38,6 +38,9 @@ AddressController.prototype.show = function(req, res) {
|
|||||||
|
|
||||||
this._address.getAddressSummary(req.addr, options, function(err, data) {
|
this._address.getAddressSummary(req.addr, options, function(err, data) {
|
||||||
|
|
||||||
|
if (data.addrStr)
|
||||||
|
data.addrStr = self.common.translateOutputAddress(data.addrStr);
|
||||||
|
|
||||||
if(err) {
|
if(err) {
|
||||||
return self.common.handleErrors(err, res);
|
return self.common.handleErrors(err, res);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user