txp outputs must be in same order and fully expanded so that signature matches

This commit is contained in:
Gregg Zigler 2015-07-09 14:12:36 -07:00
commit acf33a5467
2 changed files with 5 additions and 1 deletions

View file

@ -446,7 +446,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
formatAmount(o, o.amount * self.satToUnit);
return total + o.amount;
}, 0);
var summary = lodash.sortBy(tx.outputs, 'amount').reverse();
var summary = tx.outputs;
tx.outputs = [{
amount: tx.amount,
message: tx.message,