Skip to content

Commit

Permalink
Merge pull request #800 from Zilliqa/fix/libServer/GetBalance
Browse files Browse the repository at this point in the history
Fix libServer GetBalance bug
  • Loading branch information
ansnunez committed Nov 5, 2018
2 parents b9bac7a + 8081b25 commit a554892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libServer/Server.cpp
Expand Up @@ -334,7 +334,7 @@ Json::Value Server::GetBalance(const string& address) {
LOG_GENERAL(INFO, "balance " << balance.str() << " nonce: "
<< nonce.convert_to<unsigned int>());
} else if (account == nullptr) {
ret["balance"] = 0;
ret["balance"] = "0";
ret["nonce"] = 0;
}

Expand Down

0 comments on commit a554892

Please sign in to comment.