http: fix range route.
This commit is contained in:
parent
e2d530c0da
commit
70684d37c3
@ -833,7 +833,7 @@ HTTPServer.prototype._init = function _init() {
|
|||||||
this.get('/wallet/:id/tx/range', function(req, res, next, send) {
|
this.get('/wallet/:id/tx/range', function(req, res, next, send) {
|
||||||
var account = req.options.account;
|
var account = req.options.account;
|
||||||
var options = req.options;
|
var options = req.options;
|
||||||
req.walletdb.getRange(account, options, function(err, txs) {
|
req.wallet.getRange(account, options, function(err, txs) {
|
||||||
if (err)
|
if (err)
|
||||||
return next(err);
|
return next(err);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user