ajout de liste_blocks

This commit is contained in:
2019-02-09 06:08:01 +01:00
parent 24bbee0109
commit f28d91237b
3 changed files with 103 additions and 48 deletions

View File

@@ -24,7 +24,7 @@ $block_hash = blockchain::getLastCacheBlockHash();
// ---
// --- Le cas échéant, on cherche block passé en argument
// ---
if (isset($_REQUEST['block_hash'])) $block_hash = $_REQUEST['block_hash'];
if (isset($_REQUEST['block_hash'])) $block_hash = $_REQUEST['block_hash'];
$the_block = blockchain::getBlockWithHash($block_hash);
if ($the_block === FALSE) die();