Remove all dev fee references

This commit is contained in:
adityapk00
2018-11-16 12:45:23 -08:00
parent e9ceeda57b
commit fcd1c8cca0
4 changed files with 2 additions and 17 deletions

View File

@@ -304,7 +304,7 @@ void RPC::getAllPrivKeys(const std::function<void(QList<QPair<QString, QString>>
}
// Build the RPC JSON Parameters for this tx (with the dev fee included if applicable)
// Build the RPC JSON Parameters for this tx
void RPC::fillTxJsonParams(json& params, Tx tx) {
Q_ASSERT(params.is_array());
// Get all the addresses and amounts

View File

@@ -425,11 +425,7 @@ bool MainWindow::confirmTx(Tx tx) {
delete confirm.sendToAddrs->findChild<QLabel*>("labelMinerFee");
delete confirm.sendToAddrs->findChild<QLabel*>("minerFee");
delete confirm.sendToAddrs->findChild<QLabel*>("minerFeeUSD");
delete confirm.sendToAddrs->findChild<QLabel*>("labelDevFee");
delete confirm.sendToAddrs->findChild<QLabel*>("devFee");
delete confirm.sendToAddrs->findChild<QLabel*>("devFeeUSD");
// For each addr/amt/memo, construct the JSON and also build the confirm dialog box
for (int i=0; i < tx.toAddrs.size(); i++) {
auto toAddr = tx.toAddrs[i];

View File

@@ -176,15 +176,6 @@ const QString Settings::getDonationAddr(bool sapling) {
return "zcEgrceTwvoiFdEvPWcsJHAMrpLsprMF6aRJiQa3fan5ZphyXLPuHghnEPrEPRoEVzUy65GnMVyCTRdkT6BYBepnXh6NBYs";
}
const QString Settings::getDevSproutAddr() {
return "ztbGDqgkmXQjheivgeirwEvJLD4SUNqsWCGwxwVg4YpGz1ARR8P2rXaptkT14z3NDKamcxNmQuvmvktyokMs7HkutRNSx1D";
}
// Get the dev fee address based on the transaction
const QString Settings::getDevAddr(Tx) {
return QString();
}
double Settings::getMinerFee() {
return 0.0001;

View File

@@ -66,8 +66,6 @@ public:
static QString getZECUSDDisplayFormat(double bal);
static const QString getTokenName();
static const QString getDevSproutAddr();
static const QString getDevAddr(Tx tx);
static const QString getDonationAddr(bool sapling);
static double getMinerFee();