Change in sttus info
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user