aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwoodser <woodser@protonmail.com>2021-11-30 09:28:45 -0500
committerwoodser <woodser@protonmail.com>2021-11-30 09:28:45 -0500
commit53be72c08a51704b65b91b2e2a75d6b2e51d0c36 (patch)
treed2b519634cbf7c8158def8b92fb39e8076cb1e43 /src
parentMerge pull request #8029 (diff)
downloadmonero-53be72c08a51704b65b91b2e2a75d6b2e51d0c36.tar.xz
`make_uri` disallows standalone payment ids
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp8
1 files changed, 2 insertions, 6 deletions
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;