lib/sibit.rb in sibit-0.19.0 vs lib/sibit.rb in sibit-0.19.1
- old
+ new
@@ -212,16 +212,16 @@
@log.info("Bitcoin tx found at #{hash} for #{satoshi} sent to #{address}")
end
end
checked += 1
end
+ count += 1
@log.info("We checked #{checked} txns and #{checked_outputs} outputs in block #{block}")
block = json[:next]
if block.nil?
@log.info("The next_block is empty in block #{json[:hash]}, this is the end of Blockchain")
break
end
- count += 1
if count > max
@log.info("Too many blocks (#{count}) in one go, let's get back to it next time")
break
end
end