Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
comment the extra scan
Browse files Browse the repository at this point in the history
  • Loading branch information
wuminzhe committed Apr 15, 2024
1 parent 9ed1327 commit 38c05f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/tasks/logs.rake
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ namespace :logs do
end_block = last_scanned_block
end

# trace a little bit behind, 50 blocks
logs = scan_logs_of_network_between(client, network, start_block - 50, end_block - 50)
puts " #{logs.size} logs found"
logs.each do |log|
process_log(client, network, log)
end
# # trace a little bit behind, 50 blocks
# logs = scan_logs_of_network_between(client, network, start_block - 50, end_block - 50)
# puts " #{logs.size} logs found"
# logs.each do |log|
# process_log(client, network, log)
# end
rescue StandardError => e
if e.class != RunTooFast
puts e.message
Expand Down

0 comments on commit 38c05f1

Please sign in to comment.