diff --git a/app/companion.js b/app/companion.js index 442c564..0a3c0af 100644 --- a/app/companion.js +++ b/app/companion.js @@ -457,7 +457,7 @@ export default class CompanionAppListener { const memo = !inpTx.memo || inpTx.memo.trim() === '' ? null : inpTx.memo; // The lightclient expects zats (and not ZEC) - sendingAmount = parseInt(sendingAmount * 10 ** 8); + sendingAmount = parseInt(sendingAmount * 10 ** 8, 10); // Build a sendJSON object const sendJSON = []; diff --git a/app/components/Sidebar.js b/app/components/Sidebar.js index c1fe29f..55cca69 100644 --- a/app/components/Sidebar.js +++ b/app/components/Sidebar.js @@ -182,7 +182,7 @@ class Sidebar extends PureComponent { openErrorModal( 'Zecwallet Lite',
-
Zecwallet Lite v1.1.4
+
Zecwallet Lite v1.1.5
Built with Electron. Copyright (c) 2018-2020, Aditya Kulkarni.
The MIT License (MIT) Copyright (c) 2018-2020 Zecwallet diff --git a/app/components/Transactions.js b/app/components/Transactions.js index 330c506..60dcb1e 100644 --- a/app/components/Transactions.js +++ b/app/components/Transactions.js @@ -131,8 +131,6 @@ const TxModalInternal = ({ modalIsOpen, tx, closeModal, currencyName, zecPrice, } } - console.log('replyto is', replyTo); - return (
Address
diff --git a/app/package.json b/app/package.json index b56a2e1..5725525 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "zecwallet-lite", "productName": "Zecwallet Lite", - "version": "1.1.4", + "version": "1.1.5", "description": "Zecwallet Lite", "main": "./main.prod.js", "author": { diff --git a/app/rpc.js b/app/rpc.js index 0f2fc13..61187c2 100644 --- a/app/rpc.js +++ b/app/rpc.js @@ -238,7 +238,7 @@ export default class RPC { const listStr = native.litelib_execute('list', ''); const listJSON = JSON.parse(listStr); - const txlist = listJSON.map(tx => { + let txlist = listJSON.map(tx => { const transaction = new Transaction(); const type = tx.outgoing_metadata ? 'sent' : 'receive'; @@ -270,6 +270,10 @@ export default class RPC { return transaction; }); + // There's an issue where there are "blank" sent transactions transactions, filter them out. + txlist = txlist.filter(tx => !(tx.type === 'sent' && tx.amount < 0 && tx.detailedTxns.length === 0)); + + // Sort the list by confirmations txlist.sort((t1, t2) => t1.confirmations - t2.confirmations); this.fnSetTransactionsList(txlist); diff --git a/bin/printversion.ps1 b/bin/printversion.ps1 index ebc95c5..4d59c88 100644 --- a/bin/printversion.ps1 +++ b/bin/printversion.ps1 @@ -1 +1 @@ -echo "::set-env name=VERSION::1.1.4" +echo "::set-env name=VERSION::1.1.5" diff --git a/bin/printversion.sh b/bin/printversion.sh index 695b31f..d45b9d6 100755 --- a/bin/printversion.sh +++ b/bin/printversion.sh @@ -1,4 +1,4 @@ #!/bin/bash -VERSION="1.1.4" +VERSION="1.1.5" echo "::set-env name=VERSION::$VERSION" diff --git a/package.json b/package.json index e731fae..898069f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zecwallet-lite", "productName": "Zecwallet Lite", - "version": "1.1.4", + "version": "1.1.5", "description": "Zecwallet Lite (Electron version)", "scripts": { "build": "yarn neon && concurrently \"yarn build-main\" \"yarn build-renderer\"",