Ringsize equals mixin +1

This commit is contained in:
xmr-eric 2017-01-30 18:27:55 -05:00 committed by GitHub
parent 2d12a3cf3d
commit f1327ace32
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ Rectangle {
var mixin = scaleValueToMixinCount(fillLevel)
print ("PrivacyLevel changed:" + fillLevel)
print ("mixin count: " + mixin)
privacyLabel.text = qsTr("Privacy level (ring size %1)").arg(mixin) + translationManager.emptyString
privacyLabel.text = qsTr("Privacy level (ring size %1)").arg(mixin+1) + translationManager.emptyString
}
// Information dialog
@ -560,7 +560,7 @@ Rectangle {
+ (transaction.paymentId[i] == "" ? "" : qsTr("\n\payment ID: ") + transaction.paymentId[i])
+ qsTr("\nAmount: ") + walletManager.displayAmount(transaction.amount(i))
+ qsTr("\nFee: ") + walletManager.displayAmount(transaction.fee(i))
+ qsTr("\nRing size: ") + transaction.mixin(i)
+ qsTr("\nRing size: ") + transaction.mixin(i+1)
// TODO: add descriptions to unsigned_tx_set?
// + (transactionDescription === "" ? "" : (qsTr("\n\nDescription: ") + transactionDescription))