removed transaction proposals from history. Just list transactions sent

This commit is contained in:
Gustavo Maximiliano Cortez 2014-10-30 21:32:49 -03:00
commit 950a89727b
5 changed files with 75 additions and 53 deletions

View file

@ -2841,6 +2841,9 @@ Wallet.prototype.getTransactionHistory = function(cb) {
tx.amount = tx.amountSat * satToUnit;
tx.sentTs = proposal ? proposal.sentTs : undefined;
tx.minedTs = !_.isNaN(tx.time) ? tx.time * 1000 : undefined;
tx.merchant = proposal ? proposal.merchant : undefined;
tx.peerActions = proposal ? proposal.peerActions : undefined;
tx.finallyRejected = proposal ? proposal.finallyRejected : undefined;
};
if (addresses.length > 0) {