Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
comment out ethash dag generate
Browse files Browse the repository at this point in the history
  • Loading branch information
hackfisher committed Nov 3, 2020
1 parent 0b803d0 commit 0c58251
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/mmr/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ impl Runner {
// Note:
//
// This trigger is ugly, need better solution in the future, ptr % 30000 is to compatible with existing production, can be removed later
if (ptr + 15000) % 30000 == 0 || ptr % 30000 == 0 {
thread::spawn(move || Self::epoch((ptr + 15000) as u64))
.join()
.unwrap_or_default();
}
// if (ptr + 15000) % 30000 == 0 || ptr % 30000 == 0 {
// thread::spawn(move || Self::epoch((ptr + 15000) as u64))
// .join()
// .unwrap_or_default();
// }

match self.push(ptr, mmr_size).await {
Err(_e) => {
Expand Down

0 comments on commit 0c58251

Please sign in to comment.