This commit is contained in:
Aditya Kulkarni 2020-04-04 09:25:58 -07:00
parent f0a1185bcc
commit 0a583e2dff
8 changed files with 11 additions and 9 deletions

View File

@ -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 = [];

View File

@ -182,7 +182,7 @@ class Sidebar extends PureComponent<Props, State> {
openErrorModal(
'Zecwallet Lite',
<div className={cstyles.verticalflex}>
<div className={cstyles.margintoplarge}>Zecwallet Lite v1.1.4</div>
<div className={cstyles.margintoplarge}>Zecwallet Lite v1.1.5</div>
<div className={cstyles.margintoplarge}>Built with Electron. Copyright (c) 2018-2020, Aditya Kulkarni.</div>
<div className={cstyles.margintoplarge}>
The MIT License (MIT) Copyright (c) 2018-2020 Zecwallet

View File

@ -131,8 +131,6 @@ const TxModalInternal = ({ modalIsOpen, tx, closeModal, currencyName, zecPrice,
}
}
console.log('replyto is', replyTo);
return (
<div key={address} className={cstyles.verticalflex}>
<div className={[cstyles.sublight].join(' ')}>Address</div>

View File

@ -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": {

View File

@ -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);

View File

@ -1 +1 @@
echo "::set-env name=VERSION::1.1.4"
echo "::set-env name=VERSION::1.1.5"

View File

@ -1,4 +1,4 @@
#!/bin/bash
VERSION="1.1.4"
VERSION="1.1.5"
echo "::set-env name=VERSION::$VERSION"

View File

@ -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\"",