Skip to content

Commit 1720650

Browse files
fix(wallet): address key statuses are now updated properly when changes are detected
1 parent 1541bc3 commit 1720650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/wallet/src/services/DelegationTracker/RewardAccounts.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable unicorn/no-nested-ternary */
2-
import { BigIntMath, deepEquals, isNotNil, shallowArrayEquals } from '@cardano-sdk/util';
2+
import { BigIntMath, deepEquals, isNotNil } from '@cardano-sdk/util';
33
import { Cardano, RewardsProvider, StakePoolProvider } from '@cardano-sdk/core';
44
import {
55
EMPTY,
@@ -231,7 +231,7 @@ export const addressKeyStatuses = (
231231
) =>
232232
combineLatest([transactions$, transactionsInFlight$]).pipe(
233233
map(getAccountsKeyStatus(addresses)),
234-
distinctUntilChanged(shallowArrayEquals)
234+
distinctUntilChanged(deepEquals)
235235
);
236236

237237
export const addressDelegatees = (

0 commit comments

Comments
 (0)