From: Chris Duncan Date: Thu, 28 Nov 2024 10:51:09 +0000 (-0800) Subject: Fix account factory usage. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=9fa23c3bce16907f83de17d2f4e17b4dc07fb47f;p=libnemo.git Fix account factory usage. --- 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) {