lnrpc: rename MaxHtlc to MaxHtlcMsat in lnrpc.RoutingPolicy

In this commit, we rename the new `MaxHtlc` field to `MaxHtlcMsat`. We
do this in order to adhere to the new practice to suffix each amount
related field with their proper unit.
This commit is contained in:
Olaoluwa Osuntokun committed 2019-02-25 12:49:47 -03:00
1 parent b13d8cd261
commit 5d1eaaffa4
4 files changed
+567 -567

No files matched your search

+562 -562
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1597,7 +1597,7 @@ message RoutingPolicy {
int64 fee_base_msat = 3 [json_name = "fee_base_msat"];
int64 fee_rate_milli_msat = 4 [json_name = "fee_rate_milli_msat"];
bool disabled = 5 [json_name = "disabled"];
uint64 max_htlc = 6 [json_name = "max_htlc"];
uint64 max_htlc_msat = 6 [json_name = "max_htlc_msat"];
}
/**
+1 -1
View File
@@ -2816,7 +2816,7 @@
"type": "boolean",
"format": "boolean"
},
"max_htlc": {
"max_htlc_msat": {
"type": "string",
"format": "uint64"
}