diff --git a/js/page/wallet.js b/js/page/wallet.js index 20a1089e2..07284dd27 100644 --- a/js/page/wallet.js +++ b/js/page/wallet.js @@ -125,7 +125,7 @@ var TransactionList = React.createClass({ if (!(txid in condensedTransactions)) { condensedTransactions[txid] = 0; } - condensedTransactions[txid] += parseFloat(tx["amount"]); + condensedTransactions[txid] += parseFloat(tx["value"]); }); results.reverse().forEach(function(tx) { var txid = tx["txid"]; @@ -133,7 +133,7 @@ var TransactionList = React.createClass({ { transactionItems.push({ id: txid, - date: new Date(parseInt(tx["time"]) * 1000), + date: new Date(parseInt(tx["timestamp"]) * 1000), amount: condensedTransactions[txid] }); delete condensedTransactions[txid];