Add admin task to list LndHub balances #68

Merged
raucao merged 3 commits from feature/list_lndhub_balances into master 2022-04-18 08:41:41 +00:00
Showing only changes of commit 8773bf5f9e - Show all commits

View File

@@ -14,6 +14,7 @@ namespace :lndhub do
data = lndhub.balance(auth_token)
balance = data["BTC"]["AvailableBalance"] rescue nil
puts "#{user.address}: #{balance}" if balance && balance > 0
sleep 0.5
end
end
end