lib/zold/commands/taxes.rb in zold-0.22.1 vs lib/zold/commands/taxes.rb in zold-0.22.2

- old
+ new

@@ -160,11 +160,14 @@ @log.info(tax.debt) @log.debug(tax.to_text) @log.debug('Read the White Paper for more details: https://papers.zold.io/wp.pdf') end - def show(_, _) - raise 'Not implemented yet' + def show(wallet, _) + raise 'The wallet is absent' unless wallet.exists? + tax = Tax.new(wallet) + @log.info(tax.to_text) + @log.info('Read the White Paper for more details: https://papers.zold.io/wp.pdf') end def top_scores(opts) best = [] @remotes.iterate(@log) do |r|