Website fixed Clef rules js example (#27878)

Fixed Clef rules js example
pull/27915/head
Muhammad Mohsin Sheraz 1 year ago committed by GitHub
parent d4f3ea4aac
commit f0d0184b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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.

Loading…
Cancel
Save