From: Chris Duncan Date: Fri, 22 Aug 2025 09:50:27 +0000 (-0700) Subject: Fix address string output. X-Git-Tag: v0.10.5~41^2~2 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=09d36d571d4d604257be02fa0a7ad87d8c251f3c;p=libnemo.git Fix address string output. --- diff --git a/src/lib/account/address.ts b/src/lib/account/address.ts index 0e6f5a5..26a7fd3 100644 --- a/src/lib/account/address.ts +++ b/src/lib/account/address.ts @@ -51,11 +51,11 @@ export class Address { throw new SyntaxError('invalid Address syntax') } - get length (): number { return `${PREFIX}${this.#address}`.length } + get length (): number { return this.#address.length } - toString (): string { return `${PREFIX}${this.#address}` } + toString (): string { return this.#address } - valueOf (): string { return `${PREFIX}${this.#address}` } + valueOf (): string { return this.#address } /** * Converts a Nano address to a public key.