Skip to content

Commit 1e6f825

Browse files
committed
cleanup
1 parent ed532a1 commit 1e6f825

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/tasks/submit/flashbots.rs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,13 @@ impl FlashbotsTask {
145145

146146
// Send the bundle to Flashbots, instrumenting the send future so all
147147
// events inside the async send are attributed to the submit span.
148-
let response = async {
149-
self.flashbots()
150-
.send_mev_bundle(bundle.clone())
151-
.with_auth(self.signer.clone())
152-
.into_future()
153-
.instrument(submit_span.clone())
154-
.await
155-
}
156-
.await;
148+
let response = self
149+
.flashbots()
150+
.send_mev_bundle(bundle.clone())
151+
.with_auth(self.signer.clone())
152+
.into_future()
153+
.instrument(submit_span.clone())
154+
.await;
157155

158156
match response {
159157
Ok(resp) => {

0 commit comments

Comments
 (0)