From b73bcdf4b979d4d76a5742aa582187cd7989fefb Mon Sep 17 00:00:00 2001 From: Tim L Date: Mon, 11 Dec 2017 13:44:03 -0500 Subject: [PATCH] Receive page: QR code bug fix for invalid payment ids --- pages/Receive.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/Receive.qml b/pages/Receive.qml index b22ddfcd..d1f58e56 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -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 }