Skip to content

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

Merged
msbrogli merged 1 commit intomasterfrom
feat/wallet-get_balance_per_address
Oct 9, 2023
Merged

feat(wallet): Add BaseWallet.get_balance_per_address() method#778
msbrogli merged 1 commit intomasterfrom
feat/wallet-get_balance_per_address

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