lnrpc: add msats to return value of DecodePayReq

In this commit, we add `msats` to the return value of `DecodePayReq` to
ensure we always show full value information as we're moving to do
generally for all RPC calls that deal with off-chain amounts.
This commit is contained in:
Olaoluwa Osuntokun committed 2019-12-06 15:48:30 -08:00
1 parent d230cf89b9
commit 47235e2f98
4 files changed
+572 -557

No files matched your search

+562 -554
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -2616,6 +2616,7 @@ message PayReq {
int64 cltv_expiry = 9 [json_name = "cltv_expiry"];
repeated RouteHint route_hints = 10 [json_name = "route_hints"];
bytes payment_addr = 11 [json_name = "payment_addr"];
int64 num_msat = 12 [json_name = "num_msat"];
}
message FeeReportRequest {}
+4
View File
@@ -3252,6 +3252,10 @@
"payment_addr": {
"type": "string",
"format": "byte"
},
"num_msat": {
"type": "string",
"format": "int64"
}
}
},