Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wallet): stop querying the
StakePoolProvider
for all pools when…
… no delegation certs found This fix stops the observable returned from `createQueryStakePoolsProvider` querying the `StakePoolProvider` if an empty array of pool IDs is passed, as this indicates no data is required, rather than all. DelegateeTracker now takes in a TrackedStakePoolProvider in order to be able to set 'queryStakePools' as 'initialized' when it doesn't need to make any requests (wallet not delegated)
- Loading branch information
Showing
3 changed files
with
55 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters