Skip to content

Commit

Permalink
Linter run
Browse files Browse the repository at this point in the history
  • Loading branch information
polespinasa committed May 1, 2024
1 parent cb6035b commit 300bb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/web/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.'];
}

Expand Down

0 comments on commit 300bb6e

Please sign in to comment.