lib/zold/commands/taxes.rb in zold-0.14.47 vs lib/zold/commands/taxes.rb in zold-0.14.48

- old
+ new

@@ -113,12 +113,12 @@ def pay(wallet, opts) raise 'The wallet is absent' unless wallet.exists? tax = Tax.new(wallet) debt = tax.debt - @log.info("The current debt is #{debt} (#{debt.to_i} zents)") + @log.info("The current debt of #{wallet.id}/#{wallet.txns.count}t is #{debt} (#{debt.to_i} zents)") unless tax.in_debt? - @log.debug("No need to pay taxes yet, until the debt is less than #{Tax::TRIAL} (#{Tax::TRIAL.to_i} zents)") + @log.debug("No need to pay taxes yet, while the debt is less than #{Tax::TRIAL} (#{Tax::TRIAL.to_i} zents)") return end top = top_scores(opts) while debt > Tax::TRIAL if top.empty?