From 1ae6205e24494604b472835d30774da86acc833f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 12 May 2017 15:57:01 -0700 Subject: [PATCH] wallet/http: remove admin check for now. see #185. --- lib/wallet/http.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/wallet/http.js b/lib/wallet/http.js index ae35175f..a729ca71 100644 --- a/lib/wallet/http.js +++ b/lib/wallet/http.js @@ -195,11 +195,6 @@ HTTPServer.prototype.initRouter = function initRouter() { // Get wallet master key this.get('/:id/master', function(req, res) { - if (!req.admin) { - res.send(403, { error: 'Admin access required.' }); - return; - } - res.send(200, req.wallet.master.toJSON(true)); });