From f0d0184b2b0b0dc2f3428234836b9184088d4b5b Mon Sep 17 00:00:00 2001 From: Muhammad Mohsin Sheraz <42145654+mohsin010@users.noreply.github.com> Date: Tue, 8 Aug 2023 10:46:55 +0300 Subject: [PATCH] Website fixed Clef rules js example (#27878) Fixed Clef rules js example --- docs/tools/clef/rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tools/clef/rules.md b/docs/tools/clef/rules.md index b4f4eda363..85755ffe54 100644 --- a/docs/tools/clef/rules.md +++ b/docs/tools/clef/rules.md @@ -40,7 +40,7 @@ function ApproveTx(req) { var limit = big.Newint("0xb1a2bc2ec50000") var value = asBig(req.transaction.value); - if (req.transaction.to.toLowerCase() == "0xae967917c465db8578ca9024c205720b1a3651a9") && value.lt(limit)) { + if (req.transaction.to.toLowerCase() == "0xae967917c465db8578ca9024c205720b1a3651a9" && value.lt(limit)) { return "Approve" } // If we return "Reject", it will be rejected.