Merge pull request #3862

8bbf2bf Transfer: fix offline signing (reemuru)
This commit is contained in:
luigi1111 2022-03-18 16:22:24 -05:00
commit 1dba06a7ff
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -1030,24 +1030,7 @@ Rectangle {
// deleting transaction object, we don't want memleaks
transaction.destroy();
} else {
confirmationDialog.text = qsTr("\nNumber of transactions: ") + transaction.txCount
for (var i = 0; i < transaction.txCount; ++i) {
confirmationDialog.text += qsTr("\nTransaction #%1").arg(i+1)
+qsTr("\nRecipient: ") + transaction.recipientAddress[i]
+ (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("\nRingsize: ") + (transaction.mixin(i)+1)
// TODO: add descriptions to unsigned_tx_set?
// + (transactionDescription === "" ? "" : (qsTr("\n\nDescription: ") + transactionDescription))
+ translationManager.emptyString
if (i > 0) {
confirmationDialog.text += "\n\n"
}
}
confirmationDialog.text = qsTr("\nConfirmation message:\n ") + transaction.confirmationMessage
console.log(transaction.confirmationMessage);
// Show confirmation dialog