Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(orderbook): throw error on non-swap fail #868

Merged
merged 1 commit into from Apr 5, 2019

Commits on Apr 3, 2019

  1. refactor(orderbook): throw error on non-swap fail

    This tweaks the logic around handling exceptions that arise from
    swap execution to ensure that the exception is a valid
    `SwapFailureReason` and to clarify the log messages and intent of the
    code. If the exception is not a `SwapFailureReason` we abort the
    matching procedure instead of repeating it for the failed amount.
    sangaman committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    9fc14c6 View commit details
    Browse the repository at this point in the history