From f8fa3f57e3026252904893b7f49a7f3bee9dd078 Mon Sep 17 00:00:00 2001 From: George Zhang Date: Thu, 8 Aug 2024 00:57:00 +0800 Subject: [PATCH] fix(docs): correct admonition syntax in quick-start guide The warning about not switching RPCs before transaction confirmation was not properly formatted as an admonition. This commit fixes the syntax to ensure the warning is displayed correctly in the documentation. --- docs/flashbots-protect/quick-start.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/flashbots-protect/quick-start.mdx b/docs/flashbots-protect/quick-start.mdx index 089f7aba..56512350 100644 --- a/docs/flashbots-protect/quick-start.mdx +++ b/docs/flashbots-protect/quick-start.mdx @@ -28,7 +28,9 @@ Fast mode details: Wallets and applications can receive customer support for transactions tagged with their `originId`. To opt into customer support update your RPC URL to `rpc.flashbots.net/fast?originId=[your-wallet-name]`. -:::warning Do Not Switch RPCs Before Transaction Confirmation If you submit a transaction through Flashbots Protect via the MetaMask wallet, do not switch RPCs before transaction confirmation. MetaMask may resend the transaction to the public mempool exposing your transaction to potential MEV attacks if RPCs are switched before transaction confirmation. +:::warning Do Not Switch RPCs Before Transaction Confirmation + +If you submit a transaction through Flashbots Protect via the MetaMask wallet, do not switch RPCs before transaction confirmation. MetaMask may resend the transaction to the public mempool exposing your transaction to potential MEV attacks if RPCs are switched before transaction confirmation. :::