lib/zold/commands/push.rb in zold-0.13.11 vs lib/zold/commands/push.rb in zold-0.13.12
- old
+ new
@@ -64,13 +64,15 @@
private
def push(wallet, opts)
total = 0
+ nodes = 0
@remotes.iterate(@log) do |r|
total += push_one(wallet, r, opts)
+ nodes += 1
end
- @log.info("Push finished, total score for #{wallet.id} is #{total}")
+ @log.info("Push finished to #{nodes} nodes, total score for #{wallet.id} is #{total}")
end
def push_one(wallet, r, opts)
if opts['ignore-node'].include?(r.to_s)
@log.debug("#{r} ignored because of --ignore-node")