diff --git a/frontend/web/index.php b/frontend/web/index.php index f62caa9..75d4c6a 100644 --- a/frontend/web/index.php +++ b/frontend/web/index.php @@ -52,7 +52,7 @@ function processTx(mixed $form, $conn): array { - if (!is_array($form) || empty($form['tx']) || strlen($form['tx']) > 100*1024 || !preg_match('/^([0-9a-fA-F]{2})+$/', $form['tx'])) { + if (!is_array($form) || empty($form['tx']) || strlen($form['tx']) > 100 * 1024 || !preg_match('/^([0-9a-fA-F]{2})+$/', $form['tx'])) { return ['class' => 'alert-danger', 'message' => 'Invalid transaction received.']; }