mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
cleanup code
This commit is contained in:
parent
83a7cffc3f
commit
730b7482f6
@ -7,14 +7,14 @@ class EventTypes(Enum):
|
||||
BLOCK_INVALID = 2
|
||||
|
||||
|
||||
class Event(object):
|
||||
class Event:
|
||||
|
||||
def __init__(self, event_type, event_data):
|
||||
self.type = event_type
|
||||
self.data = event_data
|
||||
|
||||
|
||||
class EventHandler(object):
|
||||
class EventHandler:
|
||||
|
||||
def __init__(self, events_queue):
|
||||
self.events_queue = events_queue
|
||||
|
Loading…
x
Reference in New Issue
Block a user