Browse Source

Merge pull request #176 from matiu/feat/gettx

map getTx
activeAddress
Ivan Socolsky 10 years ago
parent
commit
c425b53389
  1. 11
      lib/expressapp.js
  2. 2
      package.json

11
lib/expressapp.js

@ -272,6 +272,17 @@ ExpressApp.start = function(opts) {
});
});
router.get('/v1/txproposals/:id/', function(req, res) {
getServerWithAuth(req, res, function(server) {
req.body.txProposalId = req.params['id'];
server.getTx(req.body, function(err, tx) {
if (err) return returnError(err, res, req);
res.json(tx);
res.end();
});
});
});
router.get('/v1/txhistory/', function(req, res) {
getServerWithAuth(req, res, function(server) {
var opts = {};

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.23",
"version": "0.0.24",
"keywords": [
"bitcoin",
"copay",

Loading…
Cancel
Save