FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Market.sell returns None · Issue #33 · bitshares/python-bitshares · GitHub

Market.sell returns None #33

Description

Market.buy returns a rich dict with the order_id, Market.sell just returns None
very simple fix

diff --git a/bitshares/market.py b/bitshares/market.py
index 37aa827..cb385c6 100644
--- a/bitshares/market.py
+++ b/bitshares/market.py
@@ -518,6 +518,8 @@ class Market(dict):
             tx["orderid"] = tx["operation_results"][0][1]
             self.bitshares.blocking = prevblocking
 
+        return tx
+
     def cancel(self, orderNumber, account=None):
         """ Cancels an order you have placed in a given market. Requires
             only the "orderNumber". An order number takes the form

  

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


    Back | FazBrowse Home | New Git URL