Change in sttus info

This commit is contained in:
Vladimir N. Korotenko
2025-11-11 12:11:30 +03:00
parent db5eb3d497
commit db107f74c8

View File

@@ -30,8 +30,8 @@ void AccountHelp(bool isRussian)
int AccountStatus(const std::string address, const char* bkaddress, bool isDebug) int AccountStatus(const std::string address, const char* bkaddress, bool isDebug)
{ {
// curl "https://testnet-dm.bitdeals.org/api/v1/account/status?address=mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp" // curl "https://testnet-dm.bitdeals.org/api/v1/account/status?address=mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp"
string url("curl -s \"https://"); string url("curl ");
url += address + "/api/v1/account/status?address=" + bkaddress + "\""; url += address + "/api/v1/account/status?address=" + bkaddress ;
string result = ExecCommand(url.c_str()); string result = ExecCommand(url.c_str());
nlohmann::json jsonData = nlohmann::json::parse(result); nlohmann::json jsonData = nlohmann::json::parse(result);