mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
common: assume htlc_maximum_msat, don't check bit any more.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -280,10 +280,8 @@ static void json_add_halfchan(struct json_stream *response,
|
||||
json_add_num(response, "delay", c->half[dir].delay);
|
||||
json_add_amount_msat_only(response, "htlc_minimum_msat",
|
||||
htlc_minimum_msat);
|
||||
|
||||
if (message_flags & 1)
|
||||
json_add_amount_msat_only(response, "htlc_maximum_msat",
|
||||
htlc_maximum_msat);
|
||||
json_add_amount_msat_only(response, "htlc_maximum_msat",
|
||||
htlc_maximum_msat);
|
||||
json_add_hex_talarr(response, "features", chanfeatures);
|
||||
json_object_end(response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user