Skip to content

Commit

Permalink
Merge pull request #1523 from input-output-hk/fix/lw-11824-delegation…
Browse files Browse the repository at this point in the history
…-tracker-with-voting-certs

fix(wallet): include voteDelegation certs in delegationTracker
  • Loading branch information
mirceahasegan authored Nov 11, 2024
2 parents 3d111be + 03b2647 commit 10c46f1
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,13 @@ export const createDelegationTracker = ({
transactionsTracker,
rewardAccountAddresses$,
slotEpochCalc$,
[...Cardano.RegAndDeregCertificateTypes, ...Cardano.StakeDelegationCertificateTypes]
[
...new Set([
...Cardano.RegAndDeregCertificateTypes,
...Cardano.StakeDelegationCertificateTypes,
...Cardano.VoteDelegationCredentialCertificateTypes
])
]
).pipe(tap((transactionsWithEpochs) => logger.debug(`Found ${transactionsWithEpochs.length} staking transactions`)));

const rewardsHistory$ = new TrackerSubject(
Expand Down

0 comments on commit 10c46f1

Please sign in to comment.