wallet/http: remove admin check for now. see #185.

This commit is contained in:
Christopher Jeffrey 2017-05-12 15:57:01 -07:00
parent 9080bba0e0
commit 1ae6205e24
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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));
});