mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Remove block for negative checksums (and replace crcmod with native zlip module).
This commit is contained in:
@@ -150,6 +150,5 @@ class PublicChannelsHandler:
|
||||
serializers.Liquidation.parse(*stream[0][0]))
|
||||
|
||||
def __checksum_handler(self, subscription: "Book", value: int):
|
||||
if not value < 0:
|
||||
return self.__event_emitter.emit( \
|
||||
"checksum", subscription, value)
|
||||
return self.__event_emitter.emit( \
|
||||
"checksum", subscription, value & 0xFFFFFFFF)
|
||||
|
||||
Reference in New Issue
Block a user