txp outputs must be in same order and fully expanded so that signature matches
This commit is contained in:
parent
d929e32949
commit
acf33a5467
2 changed files with 5 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
formatAmount(o, o.amount * self.satToUnit);
|
formatAmount(o, o.amount * self.satToUnit);
|
||||||
return total + o.amount;
|
return total + o.amount;
|
||||||
}, 0);
|
}, 0);
|
||||||
var summary = lodash.sortBy(tx.outputs, 'amount').reverse();
|
var summary = tx.outputs;
|
||||||
tx.outputs = [{
|
tx.outputs = [{
|
||||||
amount: tx.amount,
|
amount: tx.amount,
|
||||||
message: tx.message,
|
message: tx.message,
|
||||||
|
|
|
||||||
|
|
@ -255,6 +255,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
$scope.error = null;
|
$scope.error = null;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
|
lodash.times(
|
||||||
|
txp.outputs ? txp.outputs.recipientCount : 0,
|
||||||
|
function(n) { $scope.expand(txp.outputs); }
|
||||||
|
);
|
||||||
fc.signTxProposal(txp, function(err, txpsi) {
|
fc.signTxProposal(txp, function(err, txpsi) {
|
||||||
profileService.lockFC();
|
profileService.lockFC();
|
||||||
self.setOngoingProcess();
|
self.setOngoingProcess();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue