Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Sep 19, 2023
1 parent 5e6e709 commit b10faf1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tx-pool/src/chunk_process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,6 @@ impl ChunkProcess {
return Err(Reject::Verification(error));
}

// next_limit_cycles
// let remain = max_cycles - self.current_cycles;
// let next_limit = self.limit_cycles + step_cycles;

// if next_limit < remain {
// (next_limit, false)
// } else {
// (remain, true)
// }
let (limit_cycles, last) = state.next_limit_cycles(MIN_STEP_CYCLE, max_cycles);
last_step = last;

Expand Down

0 comments on commit b10faf1

Please sign in to comment.