add value_sat and value_msat to the outgoing payment response

This commit is contained in:
Roei Erez committed 2018-09-27 08:58:18 +03:00
1 parent f4305097e1
commit c5bebb3b32
3 files changed
+439 -404

No files matched your search

+8 -2
View File
@@ -1805,8 +1805,8 @@ message Payment {
/// The payment hash
string payment_hash = 1 [json_name = "payment_hash"];
/// The value of the payment in satoshis
int64 value = 2 [json_name = "value"];
/// Deprecated, use value_sat or value_msat.
int64 value = 2 [json_name = "value", deprecated = true];
/// The date of this payment
int64 creation_date = 3 [json_name = "creation_date"];
@@ -1819,6 +1819,12 @@ message Payment {
/// The payment preimage
string payment_preimage = 6 [json_name = "payment_preimage"];
/// The value of the payment in satoshis
int64 value_sat = 7 [json_name = "value_sat"];
/// The value of the payment in milli-satoshis
int64 value_msat = 8 [json_name = "value_msat"];
}
message ListPaymentsRequest {