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