progress today, clicking and fixing

This commit is contained in:
2026-02-04 15:09:46 -05:00
parent a72559666d
commit f0c561311f
14 changed files with 52 additions and 25 deletions
+14
View File
@@ -7,5 +7,19 @@ module Mozo
lnd = Lnrpc::Client.new(credentials_path: Rails.application.config.lnd_credentials_path, macaroon_path: Rails.application.config.lnd_macaroon_path)
end
def self.get_info
begin
client.lightning.get_info
rescue StandardError => exception
if exception&.message =~ /wallet locked/
Rails.logger.fatal 'FATAL: LND wallet locked'
#TODO handle wallet locket
end
raise exception
end
end
end
end