20211111 it works ...
This commit is contained in:
+2
-2
@@ -213,12 +213,12 @@ blockchainExplorer = function(){
|
|||||||
|
|
||||||
function _addTopBlock(data, flag = false)
|
function _addTopBlock(data, flag = false)
|
||||||
{
|
{
|
||||||
|
if (flag) return "_addTopBlock";
|
||||||
|
|
||||||
var old_hash = _liste_blocks['TOP'];
|
var old_hash = _liste_blocks['TOP'];
|
||||||
|
|
||||||
if (old_hash == data.hash) return false;
|
if (old_hash == data.hash) return false;
|
||||||
|
|
||||||
if (flag) return "ajouterTopBlock";
|
|
||||||
|
|
||||||
// Maintenir la liste des blocks
|
// Maintenir la liste des blocks
|
||||||
_liste_blocks['TOP'] = data.hash;
|
_liste_blocks['TOP'] = data.hash;
|
||||||
_liste_blocks['BLOCK_'+data.height] = data.hash;
|
_liste_blocks['BLOCK_'+data.height] = data.hash;
|
||||||
|
|||||||
Reference in New Issue
Block a user