-
Notifications
You must be signed in to change notification settings - Fork 649
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
remove get_named_account_balances #1135
Comments
I recommend that we keep this API to avoid breaking existing client apps, and document it. We can change the code (the implementation of this API) to call the other API to reduce future maintenance work load. |
good, lets do that. |
@abitmore @ryanRfox @oxarbitrage I want to claim this issue, is it possible to assign this issue for me ? Thanks ! |
yes |
Thanks ! |
@oxarbitrage I think it's already implemented as described. Just need to remove code that was commented out. Correct? |
@abitmore where did you see that it was already implemented ? |
as I've been understood this issue, if I'm not wrong, we don't need to remove comments actually for this issue, we need to remove not required code instead, or isn't so and we just need to remove only comments ? |
need to call the other function straight here https://github.com/bitshares/bitshares-core/blob/master/libraries/app/database_api.cpp#L859-L865 |
oops @abit is right https://github.com/bitshares/bitshares-core/blob/develop/libraries/app/database_api.cpp#L882-L890 done in |
funny issue :-) |
I will make PR for this issue very soon :-) |
closed by #1154 |
User Story
As a developer I think
get_named_account_balances
can be removed so the code is easier to maintain.While making a research on the impact of #1051 i found that
get_account_balances
already covers whatget_named_account_balances
do, as the former already accepts an account string.Update: this is caused by the merge of: #989
I understand there can be some legacy issues by removing
get_named_account_balances
but there is no point on having it either. I propose to remove it.Code Reference: https://github.com/bitshares/bitshares-core/blob/master/libraries/app/include/graphene/app/database_api.hpp#L312-L321
Impacts
Describe which portion(s) of BitShares Core may be impacted by your request. Please tick at least one box.
CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: