From 07ade05fa91760912180c22769be955c6e97dbc0 Mon Sep 17 00:00:00 2001 From: Alex Coats Date: Tue, 3 Oct 2023 16:07:58 -0400 Subject: [PATCH] missed one --- bindings/nodejs/lib/types/block/address.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,