Skip to content

Commit cf770a2

Browse files
committed
removes unnecessary authenticate call
1 parent a6d0b17 commit cf770a2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/tasks/block.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,6 @@ impl BlockBuilder {
162162
ru_provider: &WalletlessProvider,
163163
in_progress: &mut InProgressBlock,
164164
) {
165-
// Authenticate before fetching to ensure access to a valid token
166-
if let Err(err) = self.bundle_poller.authenticator.authenticate().await {
167-
error!(err = %err, "bundle fetcher failed to authenticate");
168-
return;
169-
}
170-
171165
trace!("query bundles from cache");
172166
let bundles = self.bundle_poller.check_bundle_cache().await;
173167
// TODO: Sort bundles received from cache

0 commit comments

Comments
 (0)