Skip to content

Commit

Permalink
use std::time for macro
Browse files Browse the repository at this point in the history
may not be imported where the macro is used
  • Loading branch information
michaeldjeffrey committed Dec 20, 2024
1 parent 0cf02b8 commit 9e6c268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solana/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ macro_rules! send_with_retry {
Err(err) => {
if attempt < 5 {
attempt += 1;
tokio::time::sleep(Duration::from_secs(attempt)).await;
tokio::time::sleep(std::time::Duration::from_secs(attempt)).await;
continue;
} else {
break Err(err);
Expand Down

0 comments on commit 9e6c268

Please sign in to comment.