mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-21 01:13:52 +02:00
Receive page: QR code bug fix for invalid payment ids
This commit is contained in:
parent
7e801642c2
commit
b73bcdf4b9
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user