tezos-reward-distributor
tezos-reward-distributor copied to clipboard
lock file not removed when payment not done due to lack of funds?
I have seen (twice) a scenario where TRD fails due to lack of funds, but does not clear its lock. So subsequent runs of TRD fail even when funds gets added.
Since I am running TRD in a cronjob unattended (not in a tty), the prompt asking whether the lock should be cleared is automatically denied.
The lock should be cleared after TRD fails to pay due to lack of funds, before TRD exits.