@ -509,7 +509,7 @@ Tx MainWindow::createTxFromChatPage() {
}
tx.fee = Settings::getMinerFee();
tx.fee = Settings::getMinerFeeChat();
return tx;
@ -803,7 +803,7 @@ Tx MainWindow::createTxForSafeContactRequest()
tx.toAddrs.push_back(ToFields{addr, amt, hmemo});
tx.toAddrs.push_back(ToFields{addr, amt, memo});
@ -1950,7 +1950,7 @@ Tx MainWindow::createTxFromSendChatPage() {
@ -2240,7 +2240,7 @@ Tx MainWindow::createTxFromSendRequestChatPage() {
@ -358,6 +358,10 @@ CAmount Settings::getMinerFee() {
return CAmount::fromqint64(10000);
CAmount Settings::getMinerFeeChat() {
return CAmount::fromqint64(0);
bool Settings::isValidSaplingPrivateKey(QString pk) {
if (isTestnet()) {
QRegExp zspkey("^secret-extended-key-test[0-9a-z]{278}$", Qt::CaseInsensitive);
@ -164,6 +164,7 @@ public:
static QString getDefaultServer();
static QString getRandomServer();
static CAmount getMinerFee();
static CAmount getMinerFeeChat();
static int getMaxMobileAppTxns() { return 30; }