formatting

This commit is contained in:
adityapk00
2018-10-31 20:21:23 -07:00
parent fb310097f3
commit e1b9ca0150
14 changed files with 859 additions and 859 deletions

View File

@@ -41,8 +41,8 @@ QList<TransactionItem> SentTxStore::readSentTxFile() {
TransactionItem t{"send", (qint64)sentTx["datetime"].toVariant().toLongLong(),
sentTx["address"].toString(),
sentTx["txid"].toString(),
sentTx["amount"].toDouble() + sentTx["fee"].toDouble(),
0, sentTx["from"].toString(), ""};
sentTx["amount"].toDouble() + sentTx["fee"].toDouble(),
0, sentTx["from"].toString(), ""};
items.push_back(t);
}
@@ -50,9 +50,9 @@ QList<TransactionItem> SentTxStore::readSentTxFile() {
}
void SentTxStore::addToSentTx(Tx tx, QString txid) {
// Save transactions only if the settings are allowed
if (!Settings::getInstance()->getSaveZtxs())
return;
// Save transactions only if the settings are allowed
if (!Settings::getInstance()->getSaveZtxs())
return;
// Also, only store outgoing Txs where the from address is a z-Addr. Else, regular zcashd
// stores it just fine