hide zdust from transaction tab
This commit is contained in:
@@ -643,7 +643,10 @@ void Controller::refreshTransactions() {
|
|||||||
|
|
||||||
for (auto o: it["outgoing_metadata"].get<json::array_t>()) {
|
for (auto o: it["outgoing_metadata"].get<json::array_t>()) {
|
||||||
|
|
||||||
QString address = QString::fromStdString(o["address"]);
|
QString address;
|
||||||
|
if (CAmount::fromqint64(!o["value"].get<json::number_unsigned_t>())==0 ) {
|
||||||
|
address = QString::fromStdString(o["address"]);
|
||||||
|
}else{ address = "";}
|
||||||
|
|
||||||
// Sent items are -ve
|
// Sent items are -ve
|
||||||
CAmount amount = CAmount::fromqint64(-1 * o["value"].get<json::number_unsigned_t>());
|
CAmount amount = CAmount::fromqint64(-1 * o["value"].get<json::number_unsigned_t>());
|
||||||
@@ -669,8 +672,10 @@ void Controller::refreshTransactions() {
|
|||||||
|
|
||||||
addresses.push_back(item.address);
|
addresses.push_back(item.address);
|
||||||
|
|
||||||
address = addresses.join(",");}
|
address = addresses.join(",");
|
||||||
}
|
|
||||||
|
|
||||||
|
}}
|
||||||
|
|
||||||
txdata.push_back(TransactionItem{
|
txdata.push_back(TransactionItem{
|
||||||
"send", datetime, address, txid,confirmations, items
|
"send", datetime, address, txid,confirmations, items
|
||||||
|
|||||||
Reference in New Issue
Block a user