Skip to content

Commit

Permalink
single tx limit
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Nov 30, 2022
1 parent 81f4a18 commit 4f871fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ function htmlscript( $tx )
echo json_encode( [ 'error' => "getTransactionById( $f ) failed" ], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES );
else
{
w8io_print_transactions( false, 'r1 = ' . $txid, false, 100, 'txs', 3 );
w8io_print_transactions( false, 'r1 = ' . $txid, false, 1000, 'txs', 3 );

if( !empty( $tx['script'] ) )
$addon = htmlscript( $tx );
Expand Down Expand Up @@ -756,7 +756,7 @@ function htmlscript( $tx )
if( $txid === false )
echo json_encode( [ 'error' => "getTxKeyByTxId( $id ) failed" ], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES ) . PHP_EOL;
else
w8io_print_transactions( false, 'r1 = ' . $txid, false, 100, 'txs', 3 );
w8io_print_transactions( false, 'r1 = ' . $txid, false, 1000, 'txs', 3 );
}

$json = htmlfilter( $json );
Expand Down

0 comments on commit 4f871fe

Please sign in to comment.