mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
history: prefer block algo field in case of algo change
will not be used in normal cases, but you can temporary display 2 coin algos with that : in web/yaamp/modules/site/results/found_results.php @@ -19,6 +19,10 @@ WriteBoxHeader("Last $count Blocks ($algo)"); $criteria->condition .= " AND IFNULL(coin.visible,1)=1"; // ifnull for rental +if($algo == 'phi2') { + $criteria->condition .= " AND t.algo IN(:algo,'phi')"; + $criteria->params = array(':algo'=>$algo); +} else if($algo != 'all') {
This commit is contained in:
parent
035d304150
commit
6d52259c11
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ foreach($db_blocks as $db_block)
|
||||||
|
|
||||||
echo '<tr class="ssrow">';
|
echo '<tr class="ssrow">';
|
||||||
echo '<td width="18px"><img width="16px" src="'.$coin->image.'"></td>';
|
echo '<td width="18px"><img width="16px" src="'.$coin->image.'"></td>';
|
||||||
echo '<td class="row"><b class="row">'.$link.'</b> ('.$coin->algo.')'.$flags.'</td>';
|
echo '<td class="row"><b class="row">'.$link.'</b> ('.$db_block->algo.')'.$flags.'</td>';
|
||||||
echo '<td class="row right"><b>'.$reward.' '.$coin->symbol_show.'</b></td>';
|
echo '<td class="row right"><b>'.$reward.' '.$coin->symbol_show.'</b></td>';
|
||||||
echo '<td class="row right" title="found '.$db_block->difficulty_user.'">'.$difficulty.'</td>';
|
echo '<td class="row right" title="found '.$db_block->difficulty_user.'">'.$difficulty.'</td>';
|
||||||
echo '<td class="row right">'.$height.'</td>';
|
echo '<td class="row right">'.$height.'</td>';
|
||||||
|
|
Loading…
Add table
Reference in a new issue