Skip to content

Commit

Permalink
fix(docs): correct admonition syntax in quick-start guide (#565)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
odysseus0 authored Aug 7, 2024
1 parent f3547a2 commit ba98fd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/flashbots-protect/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

:::

Expand Down

0 comments on commit ba98fd9

Please sign in to comment.