Skip to content

Commit

Permalink
Merge pull request #588 from keerifox/patch-4
Browse files Browse the repository at this point in the history
Fix infinite load of account balances on V25.0+ nodes
  • Loading branch information
Joohansson committed Jun 1, 2023
2 parents a04d7b5 + fc305b9 commit db76939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/wallet.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ export class WalletService {

walletAccount.balanceFiat = this.util.nano.rawToMnano(walletAccount.balance).times(fiatPrice).toNumber();

const walletAccountFrontier = frontiers.frontiers[accountID];
const walletAccountFrontier = frontiers.frontiers?.[accountID];
const walletAccountFrontierIsValidHash = this.util.nano.isValidHash(walletAccountFrontier);

walletAccount.frontier = (
Expand Down

0 comments on commit db76939

Please sign in to comment.