Merge pull request #588 from keerifox/patch-4
Fix infinite load of account balances on V25.0+ nodes
This commit is contained in:
commit
db769391da
1 changed files with 1 additions and 1 deletions
|
|
@ -758,7 +758,7 @@ export class WalletService {
|
||||||
|
|
||||||
walletAccount.balanceFiat = this.util.nano.rawToMnano(walletAccount.balance).times(fiatPrice).toNumber();
|
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);
|
const walletAccountFrontierIsValidHash = this.util.nano.isValidHash(walletAccountFrontier);
|
||||||
|
|
||||||
walletAccount.frontier = (
|
walletAccount.frontier = (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue