mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
make_uri
disallows standalone payment ids
This commit is contained in:
parent
e22ec26be4
commit
53be72c08a
1 changed files with 2 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue