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

feat(wallet): Add BaseWallet.get_balance_per_address() method #778

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

msbrogli
Copy link
Member

Motivation

Utility method to be used on tests and simulations.

Acceptance Criteria

  1. Add method BaseWallet.get_balance_per_address() that returns the balances grouped by addresses.
  2. This method ignores locks and returns the total balance (available + locked).

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@msbrogli msbrogli requested a review from jansegre as a code owner September 21, 2023 22:55
@msbrogli msbrogli self-assigned this Sep 21, 2023
@msbrogli msbrogli added the enhancement New feature or request label Sep 21, 2023
@msbrogli msbrogli force-pushed the feat/wallet-get_balance_per_address branch from 72372e7 to 32da24d Compare October 9, 2023 18:17
@msbrogli msbrogli merged commit 32da24d into master Oct 9, 2023
@msbrogli msbrogli deleted the feat/wallet-get_balance_per_address branch October 9, 2023 18:18
This was referenced Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants