lnrpc: return encoded payReq in AddInvoice, accept payReq's in SendPayment

This commit is contained in:
Olaoluwa Osuntokun committed 2017-01-02 15:31:44 -08:00
1 parent bd0cf51581
commit ca84c620ea
3 files changed
+213 -198

No files matched your search

+3 -1
View File
@@ -181,7 +181,7 @@ message SendRequest {
bytes payment_hash = 4;
string payment_hash_string = 5;
bool fast_send = 6;
string payment_request = 6;
}
message SendResponse {
// TODO(roasbeef): info about route? stats?
@@ -506,6 +506,8 @@ message Invoice {
}
message AddInvoiceResponse {
bytes r_hash = 1;
string payment_request = 2;
}
message PaymentHash {
string r_hash_str = 1;