SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 2fe4a3c3f70e9e57b1339e2d41d66aa5380d0f53
parent dc844c79c2125d557b42c59748bae9bc998cc574
Author: nickfarrow <nick@nickfarrow.com>
Date:   Wed, 30 Mar 2022 16:00:37 +1100

fix missing lnaddress conf for clightning.

Not completely added to config by default yet beause there is still some
issue with clightning not supporting description hashes within invoices,
these are required by some wallets to confirm the lightning address
invoice is legitimate.

So currently the addresses can work, depending on whether the wallet
makes the check or not for that field.

Diffstat:
Mconfig.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/config.py b/config.py @@ -50,6 +50,8 @@ for method_name in config['payment_methods']: elif method_name == "clightning": method_config['name'] = "clightning" check_set_node_conf("clightning_rpc_file", None, method_config) + check_set_node_conf("lightning_address", None, method_config) + check_set_node_conf("lightning_address_comment", None, method_config) else: Exception("Unknown payment method: {}".format(method_name))