From: Chris Duncan Date: Sun, 9 Aug 2026 09:11:43 +0000 (-0700) Subject: Fix wrong variable. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=43cdac61d738923f696ec52499fd6ed6cf3a8723;p=libnemo.git Fix wrong variable. --- diff --git a/src/lib/account/refresh.ts b/src/lib/account/refresh.ts index 35329b3..d416c20 100644 --- a/src/lib/account/refresh.ts +++ b/src/lib/account/refresh.ts @@ -93,7 +93,7 @@ export async function _refresh (account: Account, rpc: unknown): Promise { } if (frontierSubtype === 'epoch') { frontierBlock.epoch(accountInfo.account_version) - } else if (confirmedFrontierSubtype === 'change') { + } else if (frontierSubtype === 'change') { frontierBlock.change(frontierContents.representative) } else { frontierBlock[frontierSubtype](frontierContents.link, 0)