multi: rename LookupHtlc to LookupHtlcResolution for clarity

This commit is contained in:
yyforyongyu committed 2023-03-01 01:47:08 +08:00
1 parent 2bf84fbe41
commit c26917ee1f
11 files changed
+2952 -2939

No files matched your search

+5 -5
View File
@@ -1601,15 +1601,15 @@
]
}
},
"/v1/htlc/{chan_id}/{htlc_index}": {
"/v1/htlc-resolution/{chan_id}/{htlc_index}": {
"get": {
"summary": "LookupHtlc retrieves a final htlc resolution from the database. If the htlc\nhas no final resolution yet, a NotFound grpc status code is returned.",
"operationId": "Lightning_LookupHtlc",
"summary": "LookupHtlcResolution retrieves a final htlc resolution from the database.\nIf the htlc has no final resolution yet, a NotFound grpc status code is\nreturned.",
"operationId": "Lightning_LookupHtlcResolution",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/lnrpcLookupHtlcResponse"
"$ref": "#/definitions/lnrpcLookupHtlcResolutionResponse"
}
},
"default": {
@@ -5437,7 +5437,7 @@
}
}
},
"lnrpcLookupHtlcResponse": {
"lnrpcLookupHtlcResolutionResponse": {
"type": "object",
"properties": {
"settled": {