diff --git a/bindings/nodejs/lib/types/block/address.ts b/bindings/nodejs/lib/types/block/address.ts index 0166cadc97..215b172738 100644 --- a/bindings/nodejs/lib/types/block/address.ts +++ b/bindings/nodejs/lib/types/block/address.ts @@ -184,7 +184,7 @@ class RestrictedAddress extends Address { toString(): string { let hex = this.address.toString(); if (this.allowed_capabilities.some((c) => c != 0)) { - var cap = Buffer.from( + let cap = Buffer.from( this.allowed_capabilities.buffer, this.allowed_capabilities.byteOffset, this.allowed_capabilities.byteLength,