Fix transaction sorting comparator

This commit is contained in:
Yemel Jardi 2014-06-12 12:49:08 -03:00
commit 0df0015755

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){