lib/zold/commands/show.rb in zold-0.14.28 vs lib/zold/commands/show.rb in zold-0.14.29
- old
+ new
@@ -51,10 +51,12 @@
require_relative 'list'
List.new(wallets: @wallets, log: @log).run(args)
else
total = Amount::ZERO
mine.map { |i| Id.new(i) }.each do |id|
- total += show(@wallets.find(id), opts)
+ @wallets.find(id) do |w|
+ total += show(w, opts)
+ end
end
total
end
end