Skip to content

Account.openorders does not propagate bitshares_instance #21

Description

@rpxn

Account(bitshares_instance=some_bitshares_instance).openorders returns Orders objects with a different bitshares_instance: shared_bitshares_instance in particular and not some_bitshares_instance.

One is forced to use set_shared_bitshares_instance instead of being able to pass bitshares_instance= to everything.

The offending code, line 157 of account.py:
return [Order(o) for o in self["limit_orders"]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions