Browse Source

update view mode construction

main
ghost 9 months ago
parent
commit
d3d810ee9c
  1. 14
      src/server.php

14
src/server.php

@ -392,9 +392,11 @@ $server->setHandler(
) { ) {
if ($record['transaction'] == $attribute[1]) if ($record['transaction'] == $attribute[1])
{ {
// Raw mode // View mode
if ('raw' == $request->getQuery()) switch ($request->getQuery())
{ {
case 'raw':
// Transaction ID // Transaction ID
$result[] = null; $result[] = null;
$result[] = sprintf( $result[] = sprintf(
@ -491,11 +493,11 @@ $server->setHandler(
$result[] = null; $result[] = null;
$result[] = $record['block']; $result[] = $record['block'];
}
// Reader mode break;
else
{ default:
// Key // Key
$result[] = null; $result[] = null;
$result[] = sprintf( $result[] = sprintf(

Loading…
Cancel
Save