diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-11-30 17:05:48 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-11-30 17:05:48 -0500 |
commit | 3ed0cc6e20d014bfec598212ae30517a38291407 (patch) | |
tree | 7ae305076ea0f692199f5ee2a598049ebc5fbe48 | |
parent | Merge pull request #8066 (diff) | |
parent | `make_uri` disallows standalone payment ids (diff) | |
download | monero-3ed0cc6e20d014bfec598212ae30517a38291407.tar.xz |
Merge pull request #8067
53be72c make_uri disallows standalone payment ids (woodser)
-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; |