Complete flow of confirmation popup before send a tx

This commit is contained in:
Gustavo Maximiliano Cortez 2016-01-27 16:41:12 -03:00
commit df834c50c3
12 changed files with 203 additions and 98 deletions

View file

@ -30,6 +30,7 @@ angular.module('copayApp.services').factory('txFormatService', function(profileS
tx.hasMultiplesOutputs = true;
tx.recipientCount = outputs;
}
tx.toAddress = tx.outputs[0].toAddress;
tx.amount = lodash.reduce(tx.outputs, function(total, o) {
o.amountStr = formatAmountStr(o.amount);
o.alternativeAmountStr = formatAlternativeStr(o.amount);