Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.
This repository was archived by the owner on Nov 15, 2021. It is now read-only.

getaccountstate returns different schema #713

@ediopia

Description

@ediopia

Current behavior

Balances returns in object.

Expected behavior

It is supposed to return in array. Because neo-cli does.

From Neo python
balances:
{
'0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7': '14.00251105',
'0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b': '2.0'
}
From Neo cli
balances: [ [Object], [Object] ] } }

How to reproduce

Your environment

Let us know in what environment you're running into the issue:

  • OS: (Windows version/Linux distro/OSX version)
  • neo-python version: NEO-PYTHON:0.8.3-dev
  • Python version:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions