Browse Source

Merge pull request #153 from isocolsky/fix/pagination

Fix/pagination
activeAddress
Ivan Socolsky 10 years ago
parent
commit
01514ff749
  1. 3
      lib/expressapp.js
  2. 2
      package.json

3
lib/expressapp.js

@ -262,8 +262,7 @@ ExpressApp.start = function(opts) {
router.get('/v1/txhistory/', function(req, res) {
getServerWithAuth(req, res, function(server) {
var opts = {};
if (req.query.minTs) opts.minTs = +req.query.minTs;
if (req.query.maxTs) opts.maxTs = +req.query.maxTs;
if (req.query.skip) opts.skip = +req.query.skip;
if (req.query.limit) opts.limit = +req.query.limit;
server.getTxHistory(opts, function(err, txs) {

2
package.json

@ -2,7 +2,7 @@
"name": "bitcore-wallet-service",
"description": "A service for Mutisig HD Bitcoin Wallets",
"author": "BitPay Inc",
"version": "0.0.12",
"version": "0.0.13",
"keywords": [
"bitcoin",
"copay",

Loading…
Cancel
Save