diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-01-21 14:44:38 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-01-21 14:44:38 -0600 |
| commit | 2207fd5b29aaeaab0884cf4e131e00f26e8002da (patch) | |
| tree | 7daedc6be827566950919ebf41c7c8af16868dcf | |
| parent | eb028646b22c4bc36ced5c4839c7b323aadfd40d (diff) | |
| parent | 3c0f269c64c125bd6e36b812a6aac42a7ce6cc0b (diff) | |
| download | monzero-gui-2207fd5b29aaeaab0884cf4e131e00f26e8002da.tar.gz monzero-gui-2207fd5b29aaeaab0884cf4e131e00f26e8002da.tar.xz monzero-gui-2207fd5b29aaeaab0884cf4e131e00f26e8002da.zip | |
Merge pull request #1865
3c0f269 Transfer: remove ability to transfer with detached short payment ids (selsta)
| -rw-r--r-- | pages/Transfer.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/Transfer.qml b/pages/Transfer.qml index adad5fd2..a36e22e6 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -307,7 +307,7 @@ Rectangle { LineEditMulti { id: paymentIdLine fontBold: true - placeholderText: qsTr("16 or 64 hexadecimal characters") + translationManager.emptyString + placeholderText: qsTr("64 hexadecimal characters") + translationManager.emptyString Layout.fillWidth: true wrapMode: Text.WrapAnywhere addressValidation: false @@ -395,7 +395,7 @@ Rectangle { var amount_ok = amount.length > 0 var address_ok = walletManager.addressValid(address, nettype) - var payment_id_ok = payment_id.length == 0 || walletManager.paymentIdValid(payment_id) + var payment_id_ok = payment_id.length == 0 || (payment_id.length == 64 && walletManager.paymentIdValid(payment_id)) var ipid = walletManager.paymentIdFromAddress(address, nettype) if (ipid.length > 0 && payment_id.length > 0) payment_id_ok = false |
