|
|
@ -768,13 +768,13 @@ API.prototype.removeTxProposal = function(txp, cb) { |
|
|
|
API.prototype.getTxHistory = function(opts, cb) { |
|
|
|
var self = this; |
|
|
|
|
|
|
|
this._loadAndCheck(function(err, data) { |
|
|
|
this._loadAndCheck({}, function(err, wcd) { |
|
|
|
if (err) return cb(err); |
|
|
|
var url = '/v1/txhistory/'; |
|
|
|
self._doGetRequest(url, data, function(err, txs) { |
|
|
|
self._doGetRequest(url, wcd, function(err, txs) { |
|
|
|
if (err) return cb(err); |
|
|
|
|
|
|
|
_processTxps(txs, data.sharedEncryptingKey); |
|
|
|
_processTxps(txs, wcd.sharedEncryptingKey); |
|
|
|
|
|
|
|
return cb(null, txs); |
|
|
|
}); |
|
|
|