fixed some compilation issues on older compilers; disabled building of blockchain_utilities that prevent Mac from building statically

This commit is contained in:
Some Random Crypto Guy
2024-06-17 14:14:32 +01:00
parent 2be6890593
commit 226be59900
6 changed files with 140 additions and 127 deletions
+3 -3
View File
@@ -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;
}