From 53be72c08a51704b65b91b2e2a75d6b2e51d0c36 Mon Sep 17 00:00:00 2001 From: woodser Date: Tue, 30 Nov 2021 09:28:45 -0500 Subject: `make_uri` disallows standalone payment ids --- src/wallet/wallet2.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 2a190add5..bdac3109f 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -13728,12 +13728,8 @@ std::string wallet2::make_uri(const std::string &address, const std::string &pay if (!payment_id.empty()) { - crypto::hash pid32; - if (!wallet2::parse_long_payment_id(payment_id, pid32)) - { - error = "Invalid payment id"; - return std::string(); - } + error = "Standalone payment id deprecated, use integrated address instead"; + return std::string(); } std::string uri = "monero:" + address; -- cgit v1.2.3