Skip to content

Commit

Permalink
update resign attempt count
Browse files Browse the repository at this point in the history
  • Loading branch information
HardhatChad committed Aug 8, 2024
1 parent 9a1865d commit a42ad39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/send_and_confirm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ impl Miner {
loop {
progress_bar.set_message(format!("Submitting transaction... (attempt {})", attempts,));

// Sign tx with a new blockhash
if attempts % 5 == 0 {
// Sign tx with a new blockhash (after approximately ~45 sec)
if attempts % 10 == 0 {
// Reset the compute unit price
if self.dynamic_fee {
let fee = if let Some(fee) = self.dynamic_fee().await {
Expand Down

0 comments on commit a42ad39

Please sign in to comment.