mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 00:57:28 -04:00
Receive page: QR code bug fix for invalid payment ids
This commit is contained in:
@@ -80,8 +80,8 @@ Rectangle {
|
||||
s += (nfields++ ? "&" : "?")
|
||||
s += "tx_amount=" + amount
|
||||
}
|
||||
var pid = paymentIdLine.text.trim()
|
||||
if (pid !== "") {
|
||||
var pid = paymentIdLine.text.trim().toLowerCase()
|
||||
if (pid !== "" && walletManager.paymentIdValid(pid)) {
|
||||
s += (nfields++ ? "&" : "?")
|
||||
s += "tx_payment_id=" + pid
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user