Add custom fee to gui

This commit is contained in:
lucretius
2024-01-24 13:42:19 +01:00
parent 4f0229a823
commit 49d587cd42
6 changed files with 82 additions and 42 deletions

View File

@@ -221,6 +221,7 @@ void Controller::fillTxJsonParams(json& allRecepients, Tx tx, bool isChatMessage
json rec = json::object();
rec["address"] = toAddr.addr.toStdString();
rec["amount"] = toAddr.amount.toqint64();
rec["fee"] = tx.fee.toqint64();
if (Settings::isZAddress(toAddr.addr) && !toAddr.memo.trimmed().isEmpty())
rec["memo"] = toAddr.memo.toStdString();