fix payment stream
This commit is contained in:
parent
e4033d4159
commit
f7c26ee38a
17 changed files with 90 additions and 327 deletions
|
|
@ -517,13 +517,6 @@ service LightningPub {
|
|||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc PayInvoiceStream(structs.PayInvoiceRequest) returns (stream structs.InvoicePaymentStream){
|
||||
option (auth_type) = "User";
|
||||
option (http_method) = "post";
|
||||
option (http_route) = "/api/user/invoice/pay/stream";
|
||||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc GetPaymentState(structs.GetPaymentStateRequest) returns (structs.PaymentState){
|
||||
option (auth_type) = "User";
|
||||
option (http_method) = "post";
|
||||
|
|
|
|||
|
|
@ -479,13 +479,6 @@ message PayInvoiceResponse{
|
|||
int64 latest_balance = 6;
|
||||
}
|
||||
|
||||
message InvoicePaymentStream {
|
||||
oneof update {
|
||||
Empty ack = 1;
|
||||
PayInvoiceResponse done = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message GetPaymentStateRequest{
|
||||
string invoice = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue