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

Handle token_swapper impossible swap mapping with Error #971

Merged
merged 3 commits into from
Aug 22, 2023

Commits on Aug 21, 2023

  1. Handle token_swapper impossible swap mapping with Error

    This commit fixes the handling of invalid mapping requests in the
    token_swapper rustworkx-core function and the graph_token_swapper
    function in rustworkx that uses it. Previously if an invalid mapping was
    requested the function would internally panic because it always assumed
    there was a path in the graph to fulfill the user requested mapping. However,
    because the rustworkx-core function didn't support error returns a
    breaking api change is needed to add a result return type.
    mtreinish committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    7b2b5cf View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    mtreinish committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    b229ca9 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    2a33ee0 View commit details
    Browse the repository at this point in the history