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

chore(client): remove unused wallet_client #725

Merged
merged 1 commit into from Sep 15, 2023
Merged

Conversation

loziniak
Copy link
Contributor

@loziniak loziniak commented Sep 13, 2023

Seems these parameters are no longer used, and they make API more complex. Perhaps they can be removed?

Description

Summary generated by Reviewpad on 14 Sep 23 19:52 UTC

This pull request removes the unused wallet_client parameter from the upload_with_payments function in the Files struct in the file_apis.rs file. It also removes the usage of this parameter in the upload_bytes function. Additionally, the upload_with_payments function calls in the nodes_rewards.rs, storage_payments.rs, and verify_data_location.rs test files have been updated to remove the wallet_client parameter. These changes simplify the code by removing unnecessary dependencies.

@reviewpad reviewpad bot added Small Pull request is small waiting-for-review labels Sep 13, 2023
Copy link
Contributor

@joshuef joshuef left a comment

Choose a reason for hiding this comment

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

Ah, nice one! yes this should have been cleaned up in the refactor. Thanks @loziniak ! 🙇

@joshuef joshuef added this pull request to the merge queue Sep 14, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 14, 2023
@joshuef joshuef added this pull request to the merge queue Sep 15, 2023
Merged via the queue into maidsafe:main with commit a1e9ecd Sep 15, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Small Pull request is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants