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

Issue with Compressed Addresses? #720

Closed
adamkrellenstein opened this issue Feb 21, 2015 · 3 comments
Closed

Issue with Compressed Addresses? #720

adamkrellenstein opened this issue Feb 21, 2015 · 3 comments
Labels

Comments

@adamkrellenstein
Copy link
Member

From https://bitcointalk.org/index.php?topic=395761.msg10529461#msg10529461:

Uncompressed address:
Code:

{
  "jsonrpc":"2.0",
  "id":0,
  "method":"get_normalized_balances",
  "params":{
    "addresses":[
      "16P8vY1gVspGG8JeeWK8MSYzX4B9yqcJbF"
    ]
  }
}

Gives response:

Code:
{
    "jsonrpc": "2.0",
    "result": [],
    "id": 0
}

Compressed:
Code:

{
  "jsonrpc":"2.0",
  "id":0,
  "method":"get_normalized_balances",
  "params":{
    "addresses":[
      "12ze3N3Qeet6ji82rw8JqaepTL9uUxihFX"
    ]
  }
}

Gives response:
Code:

{
    "jsonrpc": "2.0",
    "id": 0,
    "error": {
        "message": "Invalid params",
        "code": -32602
    }
}
@ouziel-slama
Copy link
Contributor

I think this one is a Counterblock bug (get_normalized_balances())

@adamkrellenstein
Copy link
Member Author

Right, my mistake.

@adamkrellenstein
Copy link
Member Author

Moved here: CounterpartyXCP/counterblock#106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants