From 881b5f9a3567cd76a9a7311b2ba7514fe9c2221c Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 9 Aug 2026 22:25:50 -0700 Subject: [PATCH] Fix incorrect object reference. --- src/lib/rpc/accounts_frontiers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/rpc/accounts_frontiers.ts b/src/lib/rpc/accounts_frontiers.ts index 0bf7469..dd59b4b 100644 --- a/src/lib/rpc/accounts_frontiers.ts +++ b/src/lib/rpc/accounts_frontiers.ts @@ -31,7 +31,7 @@ export function accounts_frontiers (body: unknown): AccountsFrontiersResponse { if ('frontiers' in body && body.frontiers != null && typeof body.frontiers === 'object') { const frontiers = response.frontiers ?? Object.create(null) response.frontiers = frontiers - for (const [address, frontier] of Object.entries(frontiers) as [string, unknown][]) { + for (const [address, frontier] of Object.entries(body.frontiers) as [string, unknown][]) { if (Account.isValid(address) && hex.is(frontier, 64)) { frontiers[address] = frontier } -- 2.52.0