map getTx
This commit is contained in:
parent
ab91edd035
commit
6beae7cf11
|
@ -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,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…
Reference in New Issue