diff options
author | woodser <woodser@protonmail.com> | 2021-11-30 09:28:45 -0500 |
---|---|---|
committer | woodser <woodser@protonmail.com> | 2021-11-30 09:28:45 -0500 |
commit | 53be72c08a51704b65b91b2e2a75d6b2e51d0c36 (patch) | |
tree | d2b519634cbf7c8158def8b92fb39e8076cb1e43 | |
parent | Merge pull request #8029 (diff) | |
download | monero-53be72c08a51704b65b91b2e2a75d6b2e51d0c36.tar.xz |
`make_uri` disallows standalone payment ids
-rw-r--r-- | src/wallet/wallet2.cpp | 8 |
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; |