Skip to content

Commit

Permalink
Clean up unnecessary debug message newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
verement committed May 12, 2011
1 parent f313a7a commit 961c741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cellminer.rb
Expand Up @@ -123,12 +123,12 @@ def main
loop do
begin
work = work_queue.shift
debug "#{miner} Mining %08x..%08x\n" %
debug "#{miner} Mining %08x..%08x" %
[work[:start_nonce], work[:start_nonce] + work[:range] - 1]
start = Time.now
if solution = miner.run(work[:data], work[:target], work[:midstate],
work[:start_nonce], work[:range])
debug "#{miner} Found solution\n"
debug "#{miner} Found solution"
solved_queue << solution
else
Thread.current[:rate] = work[:range] / (Time.now - start)
Expand Down

0 comments on commit 961c741

Please sign in to comment.