wallet/http: remove admin check for now. see #185.
This commit is contained in:
parent
9080bba0e0
commit
1ae6205e24
@ -195,11 +195,6 @@ HTTPServer.prototype.initRouter = function initRouter() {
|
|||||||
|
|
||||||
// Get wallet master key
|
// Get wallet master key
|
||||||
this.get('/:id/master', function(req, res) {
|
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));
|
res.send(200, req.wallet.master.toJSON(true));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user