Ivan Socolsky
9 years ago
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
2 changed files with
2 additions and
0 deletions
-
lib/server.js
-
test/integration/server.js
|
|
@ -2684,6 +2684,7 @@ WalletService.prototype.getTxHistory = function(opts, cb) { |
|
|
|
|
|
|
|
var proposal = indexedProposals[tx.txid]; |
|
|
|
if (proposal) { |
|
|
|
newTx.createdOn = proposal.createdOn; |
|
|
|
newTx.proposalId = proposal.id; |
|
|
|
newTx.proposalType = proposal.type; |
|
|
|
newTx.creatorName = proposal.creatorName; |
|
|
|
|
|
@ -5925,6 +5925,7 @@ describe('Wallet service', function() { |
|
|
|
should.exist(txs); |
|
|
|
txs.length.should.equal(1); |
|
|
|
var tx = txs[0]; |
|
|
|
tx.createdOn.should.equal(txp.createdOn); |
|
|
|
tx.action.should.equal('sent'); |
|
|
|
tx.amount.should.equal(0.8e8); |
|
|
|
tx.message.should.equal('some message'); |
|
|
|