Browse Source

fix warning level

main
ghost 10 months ago
parent
commit
8a8adebe11
  1. 16
      src/index.php

16
src/index.php

@ -276,13 +276,7 @@ for ($block = $state + 1; $block <= $blocks; $block++)
// Operation ID required to continue // Operation ID required to continue
if (empty($asm[0])) if (empty($asm[0]))
{ {
exit( continue;
sprintf(
_('Undefined operation of transaction "%s" in block "%d"!'),
$transaction,
$block
)
);
} }
// Detect key / value // Detect key / value
@ -294,7 +288,13 @@ for ($block = $state + 1; $block <= $blocks; $block++)
// Namespace info required to continue // Namespace info required to continue
if (empty($asm[1])) if (empty($asm[1]))
{ {
continue; exit(
sprintf(
_('Undefined namespace of transaction "%s" in block "%d"!'),
$transaction,
$block
)
);
} }
// Decode namespace // Decode namespace

Loading…
Cancel
Save