Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Settle immediately if account with negative settle_to is created #622
This PR does some housekeeping & refactoring before tackling the issue.
Our settlement client logic was broken in 2 pieces, account creation and execution of the settlement. The first lived in the API crate while the second one lived in the Settlement crate.
This PR moves the account creation logic to the Settlement crate, and takes advantage of its retry-mechanism to add retry features to the
The client also made sense to exist in the
Once that house keeping was done, the API Client was switched to use the one from