diff options
| author | selsta <selsta@sent.at> | 2020-04-22 21:59:25 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2020-04-22 22:10:40 +0200 |
| commit | 3af99e91e4d61b1e63ab3ff780febc338e335add (patch) | |
| tree | c913fe63442a96ea119efb2b50e36dcbbf0edb12 /pages | |
| parent | 07ecca5af44dc96f0db169e90ec23ac706383b06 (diff) | |
| download | monzero-gui-3af99e91e4d61b1e63ab3ff780febc338e335add.tar.gz monzero-gui-3af99e91e4d61b1e63ab3ff780febc338e335add.tar.xz monzero-gui-3af99e91e4d61b1e63ab3ff780febc338e335add.zip | |
Merchant: remove unused variables
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/merchant/Merchant.qml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pages/merchant/Merchant.qml b/pages/merchant/Merchant.qml index 6ed20915..a474719a 100644 --- a/pages/merchant/Merchant.qml +++ b/pages/merchant/Merchant.qml @@ -592,7 +592,6 @@ Item { var model = appWindow.currentWallet.historyModel var count = model.rowCount() - var totalAmount = 0 var nTransactions = 0 var blockchainHeight = null var txs = [] @@ -610,8 +609,6 @@ Item { var subaddrIndex = model.data(idx, TransactionHistoryModel.TransactionSubaddrIndexRole); if (!isout && subaddrAccount == appWindow.currentWallet.currentSubaddressAccount && subaddrIndex == current_subaddress_table_index) { - var amount = model.data(idx, TransactionHistoryModel.TransactionAtomicAmountRole); - totalAmount = walletManager.addi(totalAmount, amount) nTransactions += 1 var txid = model.data(idx, TransactionHistoryModel.TransactionHashRole); @@ -633,7 +630,6 @@ Item { txs.push({ "amount": displayAmount, "confirmations": confirmations, - "blockheight": blockHeight, "in_txpool": in_txpool, "txid": txid, "time_epoch": timeEpoch, @@ -653,9 +649,7 @@ Item { txs.forEach(function(tx){ trackingModel.append({ "amount": tx.amount, - "blockheight": tx.blockheight, "confirmations": tx.confirmations, - "blockheight": tx.blockHeight, "in_txpool": tx.in_txpool, "txid": tx.txid, "time_epoch": tx.time_epoch, |
