Skip to content

from_bytes function does not work correctly for ouch #57

@0x00Sanket

Description

@0x00Sanket

The built-in Message.from_bytes() method appears to search primarily in IncomingMsgClasses for message deserialization.

What OUCH calls "Incoming": OuchEnterOrder, OuchReplaceOrder, OuchCancelOrder (these are actually client → server)
What OUCH calls "Outgoing": OuchOrderAccepted, OuchOrderRejected, OuchOrderExecuted (these are actually server → client)

Thus from_bytes() fails for Ouch messages.

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