lib/zold/commands/routines/spread.rb in zold-0.14.4 vs lib/zold/commands/routines/spread.rb in zold-0.14.5

- old
+ new

@@ -39,13 +39,16 @@ @log = log end def exec(_ = 0) sleep(60) unless @opts['routine-immediately'] + pushed = [] @wallets.all.sample(10).map do |w| id = Id.new(w) @entrance.push(id, File.read(@wallets.find(id).path)) + pushed << id end + @log.info("Spread #{pushed.count} random wallets out of #{@wallets.all.count}: #{pushed.join}") end end end end