Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New getcoinsupply RPC is returning a JSON object instead of a numeric #33

Closed
davecgh opened this issue Feb 16, 2016 · 0 comments
Closed

Comments

@davecgh
Copy link
Member

davecgh commented Feb 16, 2016

As the title indicates, the new getcoinsupply RPC command is returning a JSON object instead of a numeric value which is inconsistent with every other command:

$ dcrctl --testnet getcoinsupply
{
  "coinsupply": 41607334358723
}

Compare that to:

$ dcrctl --testnet getnetworkhashps
786150989
 $ dcrctl --testnet getblockcount
13464
$ dcrctl --testnet getconnectioncount
8
$ dcrctl --testnet getcurrentnet
118030347
@davecgh davecgh changed the title Net getcoinsupply RPC is returning a JSON object instead of a numeric New getcoinsupply RPC is returning a JSON object instead of a numeric Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant