Browse Source
Filter out meaningless error when parsing non-bech32 addresses
master
Dan Janosik
5 years ago
No known key found for this signature in database
GPG Key ID: C6F8CE9FFDB2CED2
1 changed files with
5 additions and
1 deletions
-
routes/baseActionsRouter.js
|
|
@ -937,9 +937,13 @@ router.get("/address/:address", function(req, res, next) { |
|
|
|
res.locals.addressObj = bitcoinjs.address.fromBech32(address); |
|
|
|
|
|
|
|
} catch (err2) { |
|
|
|
if (!err2.toString().startsWith("Error: Mixed-case string " + address)) { |
|
|
|
parseAddressErrors.push(utils.logError("u02qg02yqge", err2)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (res.locals.addressObj == null) { |
|
|
|
parseAddressErrors.forEach(function(x) { |
|
|
|
res.locals.pageErrors.push(x); |
|
|
|