Closed deafboy closed 3 years ago
Please try to apply this patch and run it again:
--- a/lndclient.py
+++ b/lndclient.py
@@ -33,6 +33,7 @@ class LndClient:
int(c["local_balance"]),
int(c["remote_balance"]),
)
+ print("XXX", chan.chan_id)
info = self._run("getchaninfo", chan.chan_id)
node1_fee = (
int(info["node1_policy"]["fee_base_msat"]),
Look at the output and find the last line that looks like "XXX 71234945930938".
Cal then lncli getchaninfo 71234945930938
(where 7... is the number from above) and copy the result here.
Thanks!
{
"channel_id": "2017570851621109761",
"chan_point": "bd11a2750787384f6bff052eaedaf5b7bb32102944489429439a7f86073e0b38:1",
"last_update": 1600388350,
"node1_pub": "02039cb8807f94ba55da2efabd9494db1dc076d6b32f4b2e0b06d8ee13d824d068",
"node2_pub": "02651acf4a7096091bf42baad19b3643ea318d6979f6dcc16ebaec43d5b0f4baf2",
"capacity": "1000000",
"node1_policy": null,
"node2_policy": {
"time_lock_delta": 40,
"min_htlc": "1000",
"fee_base_msat": "1000",
"fee_rate_milli_msat": "1",
"disabled": false,
"max_htlc_msat": "1000000000",
"last_update": 1600388350
}
}
This is what I get on my testnet LND instance with both python 3.6 and 3.7.
List of all the channels: http://transfer.sh/1MKZDnc/listchannels.txt
Fee report: http://transfer.sh/1WS7ZZL/feereport.txt