commit 36fead91a21bc9fe9933850879aa8ee147168145
parent 63315ced7f33cded88e837a8e6bf31d628ad32c2
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Wed, 17 Mar 2021 20:00:38 +1100
Add local certs usage
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/pay/lnd.py b/pay/lnd.py
@@ -89,10 +89,12 @@ class lnd(invoice):
)
else:
subprocess.run(
- ["ln", "-s", "{}".format(tls_file), "."]
+ ["ln", "-s", "{}".format(tls_file), "."],
+ cwd=pathlib.Path.home()
)
subprocess.run(
- ["ln", "-s", "{}".format(macaroon_file), "."]
+ ["ln", "-s", "{}".format(macaroon_file), "."],
+ cwd=pathlib.Path.home()
)
except Exception as e: