fix statuses and dns

This commit is contained in:
kandrusyak
2022-12-05 21:18:16 +03:00
parent 9c331789b3
commit e0753a0779
2 changed files with 3 additions and 5 deletions

View File

@@ -508,9 +508,7 @@ class Store {
(acc, e) => ({
...acc,
[e.delegateAddress]: {
amount:
BigInt(e.amount || 0) / 100000000n +
(acc[e.delegateAddress]?.amount || 0n),
amount: BigInt(e.amount || 0) / 100000000n,
unvoteHeight: e.unvoteHeight,
},
}),