1
mirror of https://github.com/monero-project/monero-gui synced 2025-03-30 03:39:05 +02:00

Merge pull request

b73bcdf Receive page: QR code bug fix for invalid payment ids
This commit is contained in:
luigi1111 2017-12-17 12:37:06 -06:00
commit 93565d996c
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -80,8 +80,8 @@ Rectangle {
s += (nfields++ ? "&" : "?") s += (nfields++ ? "&" : "?")
s += "tx_amount=" + amount s += "tx_amount=" + amount
} }
var pid = paymentIdLine.text.trim() var pid = paymentIdLine.text.trim().toLowerCase()
if (pid !== "") { if (pid !== "" && walletManager.paymentIdValid(pid)) {
s += (nfields++ ? "&" : "?") s += (nfields++ ? "&" : "?")
s += "tx_payment_id=" + pid s += "tx_payment_id=" + pid
} }