commit 63315ced7f33cded88e837a8e6bf31d628ad32c2
parent 24ec4f50996af35fe3e65ab198060f08e9b95a06
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Wed, 17 Mar 2021 19:56:10 +1100
Add local certs usage
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pay/lnd.py b/pay/lnd.py
@@ -89,10 +89,10 @@ class lnd(invoice):
)
else:
subprocess.run(
- ["cp", "{}".format(tls_file), "."]
+ ["ln", "-s", "{}".format(tls_file), "."]
)
subprocess.run(
- ["cp", "{}".format(macaroon_file), "."]
+ ["ln", "-s", "{}".format(macaroon_file), "."]
)
except Exception as e: