mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-20 10:09:09 +00:00
explorer: do no limit block hash size
This commit is contained in:
parent
74dc0b1e03
commit
9ceae22bb0
2 changed files with 4 additions and 2 deletions
|
@ -90,7 +90,7 @@ class ExplorerController extends CommonController
|
|||
}
|
||||
|
||||
if($coin && !empty($hash) && ctype_xdigit($hash))
|
||||
$this->render('block', array('coin'=>$coin, 'hash'=>substr($hash, 0, 64)));
|
||||
$this->render('block', array('coin'=>$coin, 'hash'=>$hash));
|
||||
|
||||
else if($coin)
|
||||
$this->render('coin', array('coin'=>$coin));
|
||||
|
|
|
@ -82,7 +82,9 @@ for($i = $start; $i > max(1, $start-21); $i--)
|
|||
echo '<td>'.$tx.'</td>';
|
||||
echo '<td>'.$confirms.'</td>';
|
||||
|
||||
echo '<td><span class="monospace">'.$coin->createExplorerLink($hash, array('hash'=>$hash)).'</span></td>';
|
||||
echo '<td style="overflow-x: hidden; max-width:800px;"><span class="monospace">';
|
||||
echo $coin->createExplorerLink($hash, array('hash'=>$hash));
|
||||
echo '</span></td>';
|
||||
|
||||
echo "</tr>";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue