diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-03-31 14:46:09 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-03-31 14:46:09 -0500 |
| commit | 12aa815c5ad335ae2e321d538c0ff1ee061f72c9 (patch) | |
| tree | 40fd7145f44581c8741e4a2580c6ba2705227cd2 | |
| parent | 2a8d6f192aa2e550ffccc7c47020d49577aa83f1 (diff) | |
| parent | abe0ae93047d6beaa9033901cba5d0736ca4627f (diff) | |
| download | monzero-gui-12aa815c5ad335ae2e321d538c0ff1ee061f72c9.tar.gz monzero-gui-12aa815c5ad335ae2e321d538c0ff1ee061f72c9.tar.xz monzero-gui-12aa815c5ad335ae2e321d538c0ff1ee061f72c9.zip | |
Merge pull request #1234
abe0ae9 Adds warning message for when a transaction with a non-default mixin value is created
| -rw-r--r-- | main.qml | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -612,15 +612,16 @@ ApplicationWindow { // here we show confirmation popup; transactionConfirmationPopup.title = qsTr("Please confirm transaction:\n") + translationManager.emptyString; transactionConfirmationPopup.text = ""; - transactionConfirmationPopup.text += - (address === "" ? "" : (qsTr("\n\nAddress: ") + address)) - + (paymentId === "" ? "" : (qsTr("\nPayment ID: ") + paymentId)) - + qsTr("\n\nAmount: ") + walletManager.displayAmount(transaction.amount) - + qsTr("\nFee: ") + walletManager.displayAmount(transaction.fee) - + qsTr("\n\nRingsize: ") + (mixinCount + 1) - + qsTr("\n\Number of transactions: ") + transaction.txCount - + (transactionDescription === "" ? "" : (qsTr("\n\nDescription: ") + transactionDescription)) - + transactionConfirmationPopup.text += (address === "" ? "" : (qsTr("Address: ") + address)); + transactionConfirmationPopup.text += (paymentId === "" ? "" : (qsTr("\nPayment ID: ") + paymentId)); + transactionConfirmationPopup.text += qsTr("\n\nAmount: ") + walletManager.displayAmount(transaction.amount); + transactionConfirmationPopup.text += qsTr("\nFee: ") + walletManager.displayAmount(transaction.fee); + transactionConfirmationPopup.text += qsTr("\nRingsize: ") + (mixinCount + 1); + if(mixinCount !== 6){ + transactionConfirmationPopup.text += qsTr("\n\nWARNING: non default ring size, which may harm your privacy. Default of 7 is recommended."); + } + transactionConfirmationPopup.text += qsTr("\n\nNumber of transactions: ") + transaction.txCount + transactionConfirmationPopup.text += (transactionDescription === "" ? "" : (qsTr("Description: ") + transactionDescription)) for (var i = 0; i < transaction.subaddrIndices.length; ++i){ transactionConfirmationPopup.text += qsTr("\nSpending address index: ") + transaction.subaddrIndices[i]; } |
