fixed some compilation issues on older compilers; disabled building of blockchain_utilities that prevent Mac from building statically
This commit is contained in:
@@ -14582,7 +14582,7 @@ std::string wallet2::make_uri(const std::string &address, const std::string &pay
|
||||
return std::string();
|
||||
}
|
||||
|
||||
std::string uri = "monero:" + address;
|
||||
std::string uri = "salvium:" + address;
|
||||
unsigned int n_fields = 0;
|
||||
|
||||
if (!payment_id.empty())
|
||||
@@ -14611,9 +14611,9 @@ std::string wallet2::make_uri(const std::string &address, const std::string &pay
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
bool wallet2::parse_uri(const std::string &uri, std::string &address, std::string &payment_id, uint64_t &amount, std::string &tx_description, std::string &recipient_name, std::vector<std::string> &unknown_parameters, std::string &error)
|
||||
{
|
||||
if (uri.substr(0, 7) != "monero:")
|
||||
if (uri.substr(0, 7) != "salvium:")
|
||||
{
|
||||
error = std::string("URI has wrong scheme (expected \"monero:\"): ") + uri;
|
||||
error = std::string("URI has wrong scheme (expected \"salvium:\"): ") + uri;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user