Skip to content

Commit

Permalink
Merge pull request #591 from lightninglabs/docs-lnd
Browse files Browse the repository at this point in the history
Update lnd documentation
  • Loading branch information
github-actions[bot] authored Jan 5, 2024
2 parents 961fcb4 + 9278b01 commit cd72032
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/lnd/grpc/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 = <RECEIVER_ID_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();
Expand Down
4 changes: 4 additions & 0 deletions docs/lnd/release-notes/release-notes-0.18.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd72032

Please sign in to comment.