Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/wallet/src/Wallets/BaseWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,10 @@ export class BaseWallet implements ObservableWallet {
utxoProvider: this.utxoProvider
});

// When the rewardAccounts delegation tracker is initialized, it will invoke drepInfo$
// with an empty array, since there aren't any drepDelegatees yet.
// This will not perform network requests, but will initialize the TrackedDrepProvider.
// For this reason, we do not have to explicitly call this.drepProvider.setStatInitialized
const drepInfo$ = createDrepInfoColdObservable({
drepProvider: this.drepProvider,
logger: contextLogger(this.#logger, 'drepInfo$'),
Expand Down
Loading