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

PWN-8904 - Striga API. get_user_wallets #1883

Conversation

gslevinkov
Copy link
Contributor

@@ -105,4 +111,27 @@ class StrigaWalletRemoteRepository(
)
}
}

override suspend fun getUserWallet(): StrigaDataLayerResult<StrigaUserWallet?> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's have this function return a non-null type and throw an exception if it can't find any wallets, that would be a pretty weird case, I reckon

@gslevinkov gslevinkov merged commit 44a66ec into feature/PWN-8895-striga-payment-api Jun 27, 2023
2 of 3 checks passed
@gslevinkov gslevinkov deleted the feature/PWN-8904-striga-api-wallets branch June 27, 2023 13:42
eduardmaximovich added a commit that referenced this pull request Jun 28, 2023
* PWN-8895, PWN-8776 - striga. payment api

* PWN-8895, PWN-8776 - removed class doc

* PWN-8895, PWN-8776 - comment fix

* PWN-8904 - Striga API. get_user_wallets (#1883)

* PWN-8895 - namings and improvements

* PWN-8895 - merge

* PWN-8895 - amount -> amountInUnits

* PWN-8904 - Striga API. get_estimated_fees (#1884)

* PWN-8904 - Striga API. get_estimated_fees

* PWN-8904 - comment fixes

* PWN-8904 - change base url

* PWN-8904 - add StrigaUserWalletsMapper to koin

* PWN-8904 - add ending slashes to new striga urls

---------

Co-authored-by: Eduard Maximovich <[email protected]>

---------

Co-authored-by: Gleb Levinkov (p2p) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants