From 5371f774af1c5fb708ff57f3f1b8908b6ae9f310 Mon Sep 17 00:00:00 2001 From: Blanker Date: Sat, 8 Mar 2025 01:56:32 +0800 Subject: [PATCH] fix: missing `await` in demo code --- docs/flashbots-auction/advanced/understanding-bundles.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/flashbots-auction/advanced/understanding-bundles.mdx b/docs/flashbots-auction/advanced/understanding-bundles.mdx index 404a2849e..66e86939f 100644 --- a/docs/flashbots-auction/advanced/understanding-bundles.mdx +++ b/docs/flashbots-auction/advanced/understanding-bundles.mdx @@ -8,7 +8,7 @@ Searchers use Flashbots to submit bundles to block builders for inclusion in blo const blockNumber = await provider.getBlockNumber() const minTimestamp = (await provider.getBlock(blockNumber)).timestamp const maxTimestamp = minTimestamp + 120 -const signedBundle = flashbotsProvider.signBundle( +const signedBundle = await flashbotsProvider.signBundle( [ { signedTransaction: SIGNED_ORACLE_UPDATE_FROM_PENDING_POOL // serialized signed transaction hex