diff --git a/index.html b/index.html index 91db24a0d..39f50b272 100644 --- a/index.html +++ b/index.html @@ -236,20 +236,20 @@

Pending Transactions ({{txs.length}})

- {{txp}} -
-

Address 1

+
+

{{o.address}}

-

Address 2

- -
YOU SIGNED!
- -
-
- - Faltan 3 cosigners - -
+

{{o.value}} BTC

+
+
+ YOU SIGNED! +
+
+
+ + Faltan 3 cosigners + +
diff --git a/js/controllers/transactions.js b/js/controllers/transactions.js index 89476fce5..ccbed41a4 100644 --- a/js/controllers/transactions.js +++ b/js/controllers/transactions.js @@ -15,7 +15,6 @@ angular.module('copay.transactions').controller('TransactionsController', var b = i.txp.builder; var tx = b.build(); var one = { - valueOutSat: b.valueOutSat, feeSat: b.feeSat, }; var outs = []; @@ -24,7 +23,10 @@ angular.module('copay.transactions').controller('TransactionsController', var s = o.getScript(); var aStr = bitcore.Address.fromScript(s, config.networkName).toString(); if (!w.addressIsOwn(aStr)) - outs.push({address: aStr, value: bitcore.util.valueToBigInt(o.getValue())}); + outs.push({ + address: aStr, + value: bitcore.util.valueToBigInt(o.getValue())/bitcore.util.COIN, + }); }); one.outs = outs; ts.push(one);