Skip to content

Commit e63b137

Browse files
author
Matthew Zipkin
committed
ln: add min_htlc to channel policies
1 parent 12e0df1 commit e63b137

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/warnet/server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,11 +574,13 @@ def graph_import(
574574
srcp += f" --fee_rate_ppm={channel['node1_policy']['fee_rate_milli_msat']}"
575575
srcp += f" --time_lock_delta={channel['node1_policy']['time_lock_delta']}"
576576
srcp += f" --max_htlc_msat={channel['node1_policy']['max_htlc_msat']}"
577+
srcp += f" --min_htlc_msat={channel['node1_policy']['min_htlc']}"
577578
if channel["node2_policy"]:
578579
tgtp += f" --base_fee_msat={channel['node2_policy']['fee_base_msat']}"
579580
tgtp += f" --fee_rate_ppm={channel['node2_policy']['fee_rate_milli_msat']}"
580581
tgtp += f" --time_lock_delta={channel['node2_policy']['time_lock_delta']}"
581582
tgtp += f" --max_htlc_msat={channel['node2_policy']['max_htlc_msat']}"
583+
tgtp += f" --min_htlc_msat={channel['node2_policy']['min_htlc']}"
582584

583585
graph.add_edge(
584586
src,

0 commit comments

Comments
 (0)