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

[p3] The query outputs of "iriscli bank account" and "/bank/accounts/{address}" are inconsistent #1486

Closed
shilei-wang opened this issue May 28, 2019 · 2 comments
Assignees
Labels
API bug Something isn't working CLI

Comments

@shilei-wang
Copy link
Contributor

shilei-wang commented May 28, 2019

To Reproduce
Output format is different :

"iriscli bank account" :

{
"type": "irishub/bank/Account",
"value": {
"address":"-",

"coins": [
  {
    "denom": "iris-atto",
    "amount": "1999933819281858309034979833"
  }
],

"public_key": {
"type":"-",
"value": "-",
},
"account_number":"-",
"sequence":"-"
}
}

/bank/accounts/{address}

{
"address":"-",

"coins": [
"1999933819.281858309034979833iris"
],

"public_key": {
"type": "-",
"value": "-"
},
"account_number":"-",
"sequence": "-"
}

Currect version:
v0.14.0

@shilei-wang shilei-wang added the bug Something isn't working label May 28, 2019
@haifengxi haifengxi assigned chengwenxi and unassigned haifengxi May 28, 2019
@haifengxi
Copy link
Contributor

haifengxi commented May 28, 2019

PR the fix to release0.14 and then develop @chengwenxi

@shilei-wang
Copy link
Contributor Author

confirm fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API bug Something isn't working CLI
Projects
None yet
Development

No branches or pull requests

3 participants