Skip to content

Commit

Permalink
missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Coats committed Oct 3, 2023
1 parent 91fcdfa commit 07ade05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/nodejs/lib/types/block/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(

Check failure on line 187 in bindings/nodejs/lib/types/block/address.ts

View workflow job for this annotation

GitHub Actions / Lint

'cap' is never reassigned. Use 'const' instead
this.allowed_capabilities.buffer,
this.allowed_capabilities.byteOffset,
this.allowed_capabilities.byteLength,
Expand Down

0 comments on commit 07ade05

Please sign in to comment.