Skip to content

Commit 62cff13

Browse files
authored
Merge pull request #1561 from lightninglabs/addinvoice-docs
taprpc: fix AddInvoice documentation
2 parents b06b7af + 0904156 commit 62cff13

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

taprpc/tapchannelrpc/tapchannel.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

taprpc/tapchannelrpc/tapchannel.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ message AddInvoiceRequest {
182182
uint64 asset_amount = 2;
183183

184184
// The node identity public key of the peer to ask for a quote for receiving
185-
// assets and converting them from satoshis. This must be specified if
186-
// there are multiple channels with the given asset ID.
185+
// assets and converting them from satoshis. When specified only quotes with
186+
// this peer will be negotiated.
187187
bytes peer_pubkey = 3;
188188

189189
// The full lnd invoice request to send. All fields behave the same way as

taprpc/tapchannelrpc/tapchannel.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@
15031503
"peer_pubkey": {
15041504
"type": "string",
15051505
"format": "byte",
1506-
"description": "The node identity public key of the peer to ask for a quote for receiving\nassets and converting them from satoshis. This must be specified if\nthere are multiple channels with the given asset ID."
1506+
"description": "The node identity public key of the peer to ask for a quote for receiving\nassets and converting them from satoshis. When specified only quotes with\nthis peer will be negotiated."
15071507
},
15081508
"invoice_request": {
15091509
"$ref": "#/definitions/lnrpcInvoice",

0 commit comments

Comments
 (0)