Skip to content

Commit 8abf803

Browse files
committed
taprpc: update AddInvoice documentation
1 parent 42c07a5 commit 8abf803

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

taprpc/tapchannelrpc/tapchannel.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ service TaprootAssetChannels {
3737
/* litcli: `ln addinvoice`
3838
AddInvoice is a wrapper around lnd's lnrpc.AddInvoice method with asset
3939
specific parameters. It allows RPC users to create invoices that correspond
40-
to the specified asset amount.
40+
to the specified asset amount. If a peer pubkey is specified, then only that
41+
peer will be used for RFQ negotiations. If none is specified then RFQ quotes
42+
for all peers with suitable asset channels will be created.
4143
*/
4244
rpc AddInvoice (AddInvoiceRequest) returns (AddInvoiceResponse);
4345

taprpc/tapchannelrpc/tapchannel.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
},
8585
"/v1/taproot-assets/channels/invoice": {
8686
"post": {
87-
"summary": "litcli: `ln addinvoice`\nAddInvoice is a wrapper around lnd's lnrpc.AddInvoice method with asset\nspecific parameters. It allows RPC users to create invoices that correspond\nto the specified asset amount.",
87+
"summary": "litcli: `ln addinvoice`\nAddInvoice is a wrapper around lnd's lnrpc.AddInvoice method with asset\nspecific parameters. It allows RPC users to create invoices that correspond\nto the specified asset amount. If a peer pubkey is specified, then only that\npeer will be used for RFQ negotiations. If none is specified then RFQ quotes\nfor all peers with suitable asset channels will be created.",
8888
"operationId": "TaprootAssetChannels_AddInvoice",
8989
"responses": {
9090
"200": {

taprpc/tapchannelrpc/tapchannel_grpc.pb.go

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

0 commit comments

Comments
 (0)