Merge pull request #668 from yemel/fix/transaction-ordering

Fix transaction sorting comparator
This commit is contained in:
Matias Alejo Garcia 2014-06-12 18:30:12 -03:00
commit 2340552437

View file

@ -138,7 +138,7 @@ angular.module('copayApp.services')
var myCopayerId = w.getMyCopayerId();
var pendingForUs = 0;
var inT = w.getTxProposals().sort(function(t1, t2) { return t1.createdTs < t2.createdTs });
var inT = w.getTxProposals().sort(function(t1, t2) { return t2.createdTs - t1.createdTs });
var txs = [];
inT.forEach(function(i, index){