From 9fa23c3bce16907f83de17d2f4e17b4dc07fb47f Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 28 Nov 2024 02:51:09 -0800 Subject: [PATCH] Fix account factory usage. --- src/lib/rolodex.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/rolodex.ts b/src/lib/rolodex.ts index 8101f33..b32fc1b 100644 --- a/src/lib/rolodex.ts +++ b/src/lib/rolodex.ts @@ -43,7 +43,7 @@ export class Rolodex { .replaceAll('<', '\\u003c') .replaceAll('>', '\\u003d') .replaceAll('\\', '\\u005c') - const account = new Account(address) + const account = Account.fromAddress(address) const nameResult = this.#entries.find(e => e.name === name) const accountResult = this.#entries.find(e => e.account.address === address) if (!accountResult) { -- 2.34.1