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

Improve errors in findWalletForRedemption function #652

Merged
merged 3 commits into from
Jul 13, 2023

Commits on Jul 12, 2023

  1. Improve errors in findWalletForRedemption fn

    Throw error when currently, there are no active wallets in the network
    and when the user requested redemption for all active wallets in the
    network using the same Bitcoin address - in that case, a user should use
    another Bitcoin address.
    r-czajkowski committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    5b786c2 View commit details
    Browse the repository at this point in the history
  2. Adjust a nomenclature in findWalletForRedemption

    There is always only one "active" wallet in the system. This is the one
    that accepts new deposits. What we are talking about here are "live"
    wallets that are operable from the Bridge's standpoint. Here we rename
    the `activeWalletsCounter` variable to `liveWalletsCounter` and adjust
    the nomenclature everywherre accordingly.
    r-czajkowski committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    19e2dff View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

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