lib/zold/commands/fetch.rb in zold-0.14.1 vs lib/zold/commands/fetch.rb in zold-0.14.2

- old
+ new

@@ -75,11 +75,11 @@ total += fetch_one(id, r, cps, opts) done += 1 end raise "There are no remote nodes, run 'zold remote reset'" if nodes.zero? raise "No nodes out of #{nodes} have the wallet #{id}" if done.zero? - @log.debug("#{nodes} copies of #{id} fetched for the total score of #{total}, \ -#{cps.all.count} local copies:\n #{cps.all.map { |c| "#{c[:name]}: #{c[:score]}" }.join("\n ")}") + @log.info("#{nodes} copies of #{id} fetched for the total score of #{total}") + @log.debug("#{cps.all.count} local copies:\n #{cps.all.map { |c| "#{c[:name]}: #{c[:score]}" }.join("\n ")}") end def fetch_one(id, r, cps, opts) start = Time.now if opts['ignore-node'].include?(r.to_s)