spelling
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
#include "precompiled.h"
|
#include "precompiled.h"
|
||||||
|
|
||||||
|
|
||||||
using json = nlohmann::json;
|
using json = nlohmann::json;
|
||||||
|
|
||||||
MainWindow::MainWindow(QWidget *parent) :
|
MainWindow::MainWindow(QWidget *parent) :
|
||||||
|
|||||||
@@ -38,9 +38,11 @@ QList<TransactionItem> SentTxStore::readSentTxFile() {
|
|||||||
|
|
||||||
for (auto i : jsonDoc.array()) {
|
for (auto i : jsonDoc.array()) {
|
||||||
auto sentTx = i.toObject();
|
auto sentTx = i.toObject();
|
||||||
TransactionItem t{"sent", (unsigned long)sentTx["datetime"].toInt(),
|
TransactionItem t{"send", (unsigned long)sentTx["datetime"].toInt(),
|
||||||
sentTx["address"].toString(),
|
sentTx["address"].toString(),
|
||||||
sentTx["txid"].toString(), sentTx["amount"].toDouble(), 0};
|
sentTx["txid"].toString(),
|
||||||
|
sentTx["amount"].toDouble() + sentTx["fee"].toDouble(),
|
||||||
|
0};
|
||||||
items.push_back(t);
|
items.push_back(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user