From 9278b01c10cf70d411bbb543c0256133c9cfc02f Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 5 Jan 2024 00:17:30 +0000 Subject: [PATCH] update documentation --- docs/lnd/grpc/javascript.md | 5 ++--- docs/lnd/release-notes/release-notes-0.18.0.md | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/lnd/grpc/javascript.md b/docs/lnd/grpc/javascript.md index f05b7eb9..9cf65f63 100644 --- a/docs/lnd/grpc/javascript.md +++ b/docs/lnd/grpc/javascript.md @@ -123,7 +123,7 @@ invoice. This example has a few dependencies: ```shell -$ npm install --save async lodash bytebuffer +$ npm install --save async lodash ``` You can run the following in your shell or put it in a program and run it like @@ -133,10 +133,9 @@ You can run the following in your shell or put it in a program and run it like // Load some libraries specific to this example const async = require('async'); const _ = require('lodash'); -const ByteBuffer = require('bytebuffer'); let dest_pubkey = ; -let dest_pubkey_bytes = ByteBuffer.fromHex(dest_pubkey); +let dest_pubkey_bytes = new Buffer(dest_pubkey, "hex"); // Set a listener on the bidirectional stream let call = lightning.sendPayment(); diff --git a/docs/lnd/release-notes/release-notes-0.18.0.md b/docs/lnd/release-notes/release-notes-0.18.0.md index b5327c11..23ab71b3 100644 --- a/docs/lnd/release-notes/release-notes-0.18.0.md +++ b/docs/lnd/release-notes/release-notes-0.18.0.md @@ -155,6 +155,10 @@ * [Add a watchtower tower client multiplexer](https://github.com/lightningnetwork/lnd/pull/7702) to manage tower clients of different types. + +* [Introduce CommitmentType and JusticeKit + interface](https://github.com/lightningnetwork/lnd/pull/7736) to simplify the + code. ## Breaking Changes ## Performance Improvements