Clear Faraday data as well when resetting Lightning

This commit is contained in:
Taylor Helsper 2023-09-21 21:51:15 -05:00 committed by GitHub
parent 8986b156ab
commit ccddef2963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1102,6 +1102,7 @@ def delete_lnd_data():
os.system("rm -rf /mnt/hdd/mynode/pool/*")
os.system("rm -rf /mnt/hdd/mynode/loop/*")
os.system("rm -rf /mnt/hdd/mynode/lit/*")
os.system("rm -rf /mnt/hdd/mynode/faraday/*")
os.system("rm -rf /tmp/lnd_deposit_address")
os.system("rm -rf /home/bitcoin/.lnd-admin/credentials.json")
os.system("rm -rf /mnt/hdd/mynode/settings/.lndpw")
@ -1421,4 +1422,4 @@ def generate_qr_code(url):
return img
except Exception as e:
log_message("generate_qr_code exception: {}".format(str(e)))
return None
return None