Skip to content
Snippets Groups Projects
Commit e8de9aba authored by Fabian Schuh's avatar Fabian Schuh
Browse files

[websocket] enable object subscriptions when subscribing to accounts...

[websocket] enable object subscriptions when subscribing to accounts (https://github.com/bitshares/bitshares-core/issues/322#issuecomment-312638481)
parent 6abe6823
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ from .exceptions import NumRetriesReached ...@@ -11,7 +11,7 @@ from .exceptions import NumRetriesReached
from events import Events from events import Events
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
#logging.basicConfig(level=logging.DEBUG) # logging.basicConfig(level=logging.DEBUG)
class BitSharesWebsocket(Events): class BitSharesWebsocket(Events):
...@@ -168,7 +168,7 @@ class BitSharesWebsocket(Events): ...@@ -168,7 +168,7 @@ class BitSharesWebsocket(Events):
# Subscribe to events on the Backend and give them a # Subscribe to events on the Backend and give them a
# callback number that allows us to identify the event # callback number that allows us to identify the event
if len(self.on_object): if len(self.on_object) or len(self.self.subscription_accounts):
self.set_subscribe_callback( self.set_subscribe_callback(
self.__events__.index('on_object'), self.__events__.index('on_object'),
False) False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment