]> zoso.dev Git - libnemo.git/commitdiff
Fix account factory usage.
authorChris Duncan <chris@zoso.dev>
Thu, 28 Nov 2024 10:51:09 +0000 (02:51 -0800)
committerChris Duncan <chris@zoso.dev>
Thu, 28 Nov 2024 10:51:09 +0000 (02:51 -0800)
src/lib/rolodex.ts

index 8101f339e1027965f06c250897e4479bc7ef4fe5..b32fc1b9940dd4153b89705fd9c49312e97b6a5d 100644 (file)
@@ -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) {