Changes for v0.2.1

This commit is contained in:
Aditya Kulkarni
2018-10-24 09:58:19 -07:00
parent 60c047bf71
commit 6117026cc7
5 changed files with 11 additions and 6 deletions

View File

@@ -9,8 +9,8 @@ Head over to the releases page and grab the latest binary. https://github.com/ad
### Linux ### Linux
Extract and run the binary Extract and run the binary
``` ```
tar -xvf zcash-qt-wallet-v0.2.0.tar.gz tar -xvf zcash-qt-wallet-v0.2.1.tar.gz
./zcash-qt-wallet-v0.2.0/zcash-qt-wallet ./zcash-qt-wallet-v0.2.1/zcash-qt-wallet
``` ```
### Windows ### Windows

View File

@@ -402,7 +402,7 @@ void RPC::refreshReceivedZTrans(QList<QString> zaddrs, QList<QPair<QString, QStr
// If it is in the filtered list and the z-Addr is the fromAddress in the sent // If it is in the filtered list and the z-Addr is the fromAddress in the sent
// z-Addr, then this is a "change" recieve, so skip it // z-Addr, then this is a "change" recieve, so skip it
if (filteredTxid != txidFilter.end() && filteredTxid->first != zaddr) { if (filteredTxid == txidFilter.end() || filteredTxid->first != zaddr) {
auto txidInfo = txidDetails->value(txid); auto txidInfo = txidDetails->value(txid);
// Lookup txid in the map // Lookup txid in the map

View File

@@ -14,7 +14,7 @@ echo "[OK]"
echo -n "Configuring..." echo -n "Configuring..."
rm -f "bin/linux-zcash-qt-wallet*" rm -f bin/linux-zcash-qt-wallet*
make distclean > /dev/null make distclean > /dev/null
$QT_STATIC/bin/qmake zcash-qt-wallet.pro -spec linux-clang CONFIG+=release > /dev/null $QT_STATIC/bin/qmake zcash-qt-wallet.pro -spec linux-clang CONFIG+=release > /dev/null
echo "[OK]" echo "[OK]"

View File

@@ -54,6 +54,11 @@ void SentTxStore::addToSentTx(Tx tx, QString txid) {
if (!Settings::getInstance()->getSaveZtxs()) if (!Settings::getInstance()->getSaveZtxs())
return; return;
// Also, only store outgoing Txs where the from address is a z-Addr. Else, regular zcashd
// stores it just fine
if (!tx.fromAddr.startsWith("z"))
return;
QFile data(writeableFile()); QFile data(writeableFile());
QJsonDocument jsonDoc; QJsonDocument jsonDoc;

View File

@@ -13,7 +13,7 @@ PRECOMPILED_HEADER = src/precompiled.h
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = zcash-qt-wallet TARGET = zcash-qt-wallet
APP_VERSION=\\\"0.2.0\\\" APP_VERSION=\\\"0.2.1\\\"
TEMPLATE = app TEMPLATE = app