Skip to content

Commit a42ad39

Browse files
committed
update resign attempt count
1 parent 9a1865d commit a42ad39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/send_and_confirm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ impl Miner {
8585
loop {
8686
progress_bar.set_message(format!("Submitting transaction... (attempt {})", attempts,));
8787

88-
// Sign tx with a new blockhash
89-
if attempts % 5 == 0 {
88+
// Sign tx with a new blockhash (after approximately ~45 sec)
89+
if attempts % 10 == 0 {
9090
// Reset the compute unit price
9191
if self.dynamic_fee {
9292
let fee = if let Some(fee) = self.dynamic_fee().await {

0 commit comments

Comments
 (0)