]> git.codecow.com Git - libnemo.git/commitdiff
Fix incorrect ID stored for wallets.
authorChris Duncan <chris@zoso.dev>
Sat, 26 Jul 2025 08:03:10 +0000 (01:03 -0700)
committerChris Duncan <chris@zoso.dev>
Sat, 26 Jul 2025 08:03:10 +0000 (01:03 -0700)
src/lib/wallets/wallet.ts

index 530a8220ef0f7de3040bee9aec26244017fee870..942725ee5f84cd079705e6f00777227793bf6c29 100644 (file)
@@ -202,7 +202,7 @@ export abstract class Wallet {
                                throw new Error('password must be string or bytes')\r
                        }\r
                        const serialized = JSON.stringify({\r
-                               id: this.#id.hex,\r
+                               id: this.id,\r
                                mnemonic: this.#m?.phrase,\r
                                seed: this.#s == null ? this.#s : bytes.toHex(this.#s)\r
                        })\r